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

Force account selection #13

Closed
aks-71 opened this issue Oct 28, 2021 · 2 comments
Closed

Force account selection #13

aks-71 opened this issue Oct 28, 2021 · 2 comments

Comments

@aks-71
Copy link

aks-71 commented Oct 28, 2021

Is there a way to force account selection in case user has multiple accounts? Currently it directly signs in with a account without asking

@lauming1111
Copy link

@aks-71 need to update the file in node_modules manually, refer to https://github.com/seanfisher/passport-microsoft/pull/8/files

and add prompt: 'select_account' in your code (I am using MS Oauth, https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow)

@seanfisher
Copy link
Owner

Released in 1.0.0. Take a look at this sample app line to see where to specify this option.

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

3 participants