Assign default role during signup (react native)

Hello

We are using react-native SDK för passwordless signun/login
Is it possible to se a parameter where the user gets a default role automatically?

What other options are they if not?
We have a native app and and a node.js backend.

Secondly: Is it possible to pass a parameter forthe react-native module do only allow login. Right now the widget will allow both login and signup.

Hi @Murdoc12,

Welcome to the Auth0 Community Forum!

Checkout this rule:

Look at this lock option:

https://auth0.com/docs/libraries/lock/v11/configuration#allowsignup-boolean-

1 Like

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