I am using new universal login experience, and there are two buttons on my form. One is “login” and the other “signup”. Based on which button the user clicks, I would like to redirect to a different URL. How do I implement this?
Hi @victor-wei126,
You can redirect to the sign up page by passing screen_hint as a query string parameter to the /authorize endpoint:
loginWithRedirect({ screen_hint: 'signup' })
https://community.auth0.com/t/how-do-i-redirect-users-directly-to-the-hosted-signup-page/42520
1 Like
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.