# When implementing embedded login, how do we use the JWT token given?

**URL:** <https://community.auth0.com/t/when-implementing-embedded-login-how-do-we-use-the-jwt-token-given/85614>\
**Category:** Get Help\
**Tags:** jwt, otp, access-token, authentication\
**Created:** [June 21, 2022, 11:59am UTC](https://community.auth0.com/t/when-implementing-embedded-login-how-do-we-use-the-jwt-token-given/85614 "2022-06-21T11:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erin1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erin1/32/37756_2.png) [@erin1](https://community.auth0.com/u/erin1)\
**Post date:** [June 21, 2022, 11:59am UTC](https://community.auth0.com/t/when-implementing-embedded-login-how-do-we-use-the-jwt-token-given/85614/1 "2022-06-21T11:59:45Z")

</div>

Using the steps ‘Send a one-time-use password via SMS’ and ‘Authenticate an SMS user’ [Embedded Passwordless Login in Native Applications](https://auth0.com/docs/authenticate/passwordless/implement-login/embedded-login/native), we can successfully authenticate a phone number. We are not using MFA, so only the OTP sent to phone.

We are given an id\_token and an access\_token but we are new to this and not sure what to do with the access token. I know that it’s a JWT web token.

We are using react-native without expo.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 27, 2022, 5:39pm UTC](https://community.auth0.com/t/when-implementing-embedded-login-how-do-we-use-the-jwt-token-given/85614/3 "2022-06-27T17:39:55Z")

</div>

Hi @erin1,

Tokens are a fundamental tool for authentication/authorization with Auth0.

I would start here:

> **[Tokens](https://auth0.com/docs/secure/tokens)**
>
> Describes the types of tokens related to identity and authentication and how they are used by Auth0.

And here:

> **[Validate Access Tokens](https://auth0.com/docs/secure/tokens/access-tokens/validate-access-tokens)**
>
> Describes how to validate an access token.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 10:58am UTC](https://community.auth0.com/t/when-implementing-embedded-login-how-do-we-use-the-jwt-token-given/85614/4 "2022-12-22T10:58:25Z")

</div>


