This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
This is just a proposal so far, it hasn't been accepted and needs further discussion.
When the user redirected to the app during the OAuth2 sign-in process, there are a few routes we can choose to provide.
- Merge functionality into existing auth page
- Add new route for OAuth2 specific authentication that embeds the sign in/up components
- Add new route that redirects to default auth page
Chosen option: Add new route that redirects to default auth page
- Nicely separates responsibilities
The auth page will redirect to this page after the sign-in is completed and then this route will redirect the user back to the client app.