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

How to add prompt settings to Google OAuth? #84

Closed
justinforlenza opened this issue Jan 9, 2020 · 1 comment
Closed

How to add prompt settings to Google OAuth? #84

justinforlenza opened this issue Jan 9, 2020 · 1 comment

Comments

@justinforlenza
Copy link

justinforlenza commented Jan 9, 2020

I am attempting to add the Google OAuth "prompt" parameter so that a user is asked to choose an account even if there is only one, giving them the option to enter a new account.

I added "prompt" into my config object however the OAuth2Provider appears to just ignore it.

Google Documentation on Additional Parameters:

https://developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters

@justinforlenza justinforlenza changed the title How to add prompt settings to google oauth? How to add prompt settings to Google OAuth? Jan 9, 2020
@strotmann
Copy link

// Your can use custom parameter.
provider.on("before-authorize-request", parameter => {
parameter["XXXX-Hoge"] = "hogehoge"
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants