Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Removing login prompt #284

Closed
randodev opened this issue Jul 25, 2016 · 3 comments · Fixed by #407
Closed

Removing login prompt #284

randodev opened this issue Jul 25, 2016 · 3 comments · Fixed by #407
Labels
Milestone

Comments

@randodev
Copy link

Is there any possibility to remove the webpage that prompts you to log in using the provider set in the configuration? It really has no purpose if you have only one provider, and it should redirect straight to the oauth provider's page.

Is there an option to do this, or have I missed it in the documentation?

@ploxiln
Copy link
Contributor

ploxiln commented Jul 25, 2016

--skip-provider-button

flagSet.Bool("skip-provider-button", false, "will skip sign-in-page to directly reach the next step: oauth/start")

@reist
Copy link

reist commented Aug 2, 2016

In case of using Nginx's auth_request, should the /oauth2/sign_in be switched to /oauth2/start to get the same effect? Based on a couple of checks, it seems to be working as long as the _oauth2_proxy cookie didn't timeout.

@Alives
Copy link

Alives commented Feb 2, 2017

This option isn't working for me. I only have Google configured as a provider, and I still see the "Sign in with a Google Account" button page if I don't have the oauth cookie set properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

5 participants