Skip to content

Add option to make sign-in button link to oauth provider #21741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tiltingpenguin opened this issue Nov 9, 2022 · 3 comments
Open

Add option to make sign-in button link to oauth provider #21741

tiltingpenguin opened this issue Nov 9, 2022 · 3 comments
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@tiltingpenguin
Copy link

Feature Description

When you only want to let users log into gitea through oauth I think it makes sense to add a setting that allows you to skip the usual login page and automatically link users to the oauth provider.

Essentially I would like to skip the page attached in the screenshot and just go to the configured oauth page

Screenshots

grafik

@tiltingpenguin tiltingpenguin added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Nov 9, 2022
@coolo
Copy link

coolo commented Nov 15, 2022

It's noteworthy that we hacked this into https://gitea.opensuse.org as proof of concept - but aren't using a config option.

@techknowlogick
Copy link
Member

Thanks @coolo and @tiltingpenguin do you have your patch available to look at?

@tiltingpenguin
Copy link
Author

Not yet but I'm working on it right now. I will open a PR if I'm ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants