# Auth0-lock react native deprecated

**URL:** <https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914>\
**Category:** Get Help\
**Tags:** react-native, tier1\
**Created:** [August 21, 2017, 2:20pm UTC](https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914 "2017-08-21T14:20:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yakupad](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@yakupad](https://community.auth0.com/u/yakupad)\
**Post date:** [August 21, 2017, 2:20pm UTC](https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914/1 "2017-08-21T14:20:52Z")

</div>

HELLO!

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

```

> **[GitHub - okta-graveyard/react-native-lock: \[DEPRECATED\] A wrapper of Lock to use with React...](https://github.com/okta-graveyard/react-native-lock)**
>
> \[DEPRECATED\] A wrapper of Lock to use with React Native (iOS & Android)

I can not enter idToken because the library is deprecated. How do I get Id Token

---

<div class="post-metadata">

**Author:** ![swapna.dixit](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@swapna.dixit](https://community.auth0.com/u/swapna.dixit)\
**Post date:** [August 21, 2017, 3:01pm UTC](https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914/2 "2017-08-21T15:01:18Z")

</div>

You can try the links below:

> **[GitHub - auth0/react-native-auth0: React Native toolkit for Auth0 API](https://github.com/auth0/react-native-auth0)**
>
> React Native toolkit for Auth0 API. Contribute to auth0/react-native-auth0 development by creating an account on GitHub.

> **[Auth0 React Native SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/react-native)**
>
> This tutorial demonstrates how to add user login to a React Native application using Auth0.

---

<div class="post-metadata">

**Author:** ![yakupad](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@yakupad](https://community.auth0.com/u/yakupad)\
**Post date:** [August 21, 2017, 3:12pm UTC](https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914/3 "2017-08-21T15:12:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![paulimar.angulo](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@paulimar.angulo](https://community.auth0.com/u/paulimar.angulo)\
**Post date:** [August 24, 2017, 9:57pm UTC](https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914/4 "2017-08-24T21:57:04Z")

</div>

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

- [https://auth0.com/docs/tokens/id-token](https://auth0.com/docs/tokens/id-token)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/auth0-lock-react-native-deprecated/7914/5 "2018-03-02T05:56:02Z")

</div>


