Skip to content
Discussion options

You must be logged in to vote

quoting #2652 (reply in thread)

Hello @sneko . In OAuth2, it is not possible to switch browsers mid-request due to security reasons. The best option you have is to make the registration flow independent of the OAuth2 flow. So the user signs up, and once signed up, you re-initialize the OAuth2 flow.

Another option is to initiate the OAuth2 flow, then register the user, validate the link (regardless of browser), and ask the user to go back to the original tab where the OAuth2 flow was initiated. There you do some checking if the user is now registered, and continue the flow.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@sneko
Comment options

@sneko
Comment options

@vinckr
Comment options

@sneko
Comment options

@aeneasr
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants