Skip to content
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

question: google oauth, send "prompt" query param #286

Open
highfredo opened this issue Oct 11, 2023 · 4 comments
Open

question: google oauth, send "prompt" query param #286

highfredo opened this issue Oct 11, 2023 · 4 comments
Assignees
Labels
feature oauth oauth-google question Further information is requested

Comments

@highfredo
Copy link

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!

@greenpau
Copy link
Owner

greenpau commented Dec 2, 2023

@highfredo , I don't think this is possible at the moment. This would need to be a feature.

@tyrantlink
Copy link

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

@jvvan
Copy link

jvvan commented Jul 17, 2024

Are there any plans to add this?
I can try to submit a PR if you don't have the time to do it.

@greenpau
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature oauth oauth-google question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants