Auth0 Home Blog Docs

Auth0-lock react native deprecated

tier1
react-native

#1

HELLO!

const createUser = gql`
mutation ($idToken: String!){
  createUser(authProvider: {auth0: {idToken: $idToken}}) {
    id
  }
}`

https://github.com/auth0/react-native-lock
I can not enter idToken because the library is deprecated. How do I get Id Token


#2

You can try the links below:
https://github.com/auth0/react-native-auth0
https://auth0.com/docs/quickstart/native/react-native


#3

I’ve checked the links you’ve specified, but I do not understand that you can get idToken. Would you help me with this? What exactly is IdToken?


#4

The IDToken is a JSON Web Token that contains the profile information of the user. You can find more information about this token here:


#5