caddy-security
caddy-security copied to clipboard
question: google oauth, send "prompt" query param
Is it possible to send extra query params when doing oauth with google?
https://developers.google.com/identity/openid-connect/openid-connect#authenticationuriparameters
I would like to send "prompt=select_account" to let users choose which google account they want to use.
Thanks you!
@highfredo , I don't think this is possible at the moment. This would need to be a feature.
Discord uses the same prompt parameter to bypass the authorization prompt if they've already authorized in the past, which would allow users to log in much quicker.
https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-authorization-url-example
Are there any plans to add this? I can try to submit a PR if you don't have the time to do it.
I can try to submit a PR if you don't have the time to do it.
@jvvan , please do. 🤝 See https://github.com/greenpau/caddy-security/blob/main/CONTRIBUTING.md#development-environment for reference. I don't use Google as much. Any help is appreciated.