-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
feature: auto-redirect to IDP when only one exists #132
Comments
@clintharrison , have you looked into adding custom javascript to do the automatic redirect? https://authp.github.io/docs/authenticate/ui-features#javascript |
This feature does make sense. Will add it next time I do the refactoring of UI |
Looking for this now as well. |
This feature is available and already implemented. Some keywords. You must configure “trust logout redirect uri” to safely use it. |
Sorry for dropping in here again, I can make a new issue if that's better, but I am hoping this will be a quick answer. I am a bit confused on using "trust logout redirect uri" to automatically initiate a login. This reads as though it is used as a redirection when a logout is performed. I tried adding this to my caddy file: Hoping that it will automate the login process. Currently I see this login portal: And I would like to skip this, and automatically navigate to: |
I'm also not quite connecting the dots on how configuring a trusted logout redirect URL is related to redirecting on the login screen. @greenpau do you have any more pointers? I am still getting along just fine with redirecting in the custom template, but I'm not sure if this feature was actually implemented 🤔 |
Also support this feature, and I looked through the docs and don't see a way to do this without attempting custom JavaScript, as @greenpau originally mentioned above. But it would certainly be nicer and more ergonomic to have it as part of the Caddyfile, since clicking the button is just an additional step for users with only one IdP 99% of the time, (unless they need to access the |
I'm using caddy-security with a single authn backend.
Instead of presenting a login page with a single button, it'd be great if
/login
redirected there immediately, since that's what the user will do anyway.I suppose we could add a Caddyfile directive so this is opt-in behavior :)
The text was updated successfully, but these errors were encountered: