Update passwordless user phone_number or email react-native

Hi
I am using https://github.com/auth0/react-native-auth0 library to authenticate user using passwordless.

Now I want to add a functionally where the user can change his mobile/email and can log in and get the same user.

I don’t find any documentation to use in react-native.

Please help me with this.

Hi @laxmanram05,

Welcome to the Community!

This is typically done as a backend action, not from a public client.

The user would request an email change, and your app would make a request with an access token to your backend API. The API would then request a management API token and update the user’s email or phone number via the patch_users_by_id endpoint.

Does that make sense?

1 Like

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