React Native - Universal Login Registration

I have setup a Login button in my RN App (using the universal login) and this is working just fine.
const credentials = await auth0.webAuth.authorize({
scope: “openid offline_access profile email”,
});

On the web page screen you can hit the ‘Register new account’ link and again this works just fine.
But is it possible for the user to go straight to the register user screen when they know they do not have an account?

1 Like

Hey there @Darrin welcome back!

Definitely! You’ll want to pass the screen_hint param :

auth0.webAuth.authorize({
  scope: scope,
  screen_hint: 'signup', // 👈🏻
});

Hope this helps!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.