Good day everyone. I have been working on this feature when if the user tries to signup but already has an existing account, the user would instead be logged in to the application.
Scenario:
We have a universal login, a separate signup page, and an app. The signup page uses auth0.js while the app uses nuxt-auth.
Expected:
When on the signup page, if the user signed up using Google social login but already has an existing account, the user should be logged in to the application on a different subdomain.
Actual:
When using the signup page, the user is instead redirected to the app and then back to the universal login. When you click the Google social login, there is no need for the user to enter his account since the user has already the necessary token to log in. The user is just not being logged in to the application so there is an undesired action of clicking the button.
Implementation:
We implemented the redirect from the action flow.
Other observation:
In the monitoring logs, the login from the social button ends at success exchange, and no success login is showing up.