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

Infinite redirect loop with prompt=select_account #388

Open
stefanfoulis opened this issue Mar 2, 2021 · 0 comments
Open

Infinite redirect loop with prompt=select_account #388

stefanfoulis opened this issue Mar 2, 2021 · 0 comments

Comments

@stefanfoulis
Copy link
Contributor

related to #187

The only difference between prompt=login and prompt=select_account seems to be that with prompt=login the prompt GET parameter is removed from next_page before redirecting to the login page.
It looks like because it is not removed with prompt=select_account we end up with an infinite loop.

Probably we should just make prompt=select_acconunt behave the same as prompt=login.

To properly support prompt=select_account in the future, we'd probably need to provide some sort of hook so that developers can add logic to handle this special case correctly on the login page 🤔 . Perhaps pass the prompt=select_account GET parameter to the login page itself, instead of in next_page.

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

No branches or pull requests

2 participants