# Refresh\_token from passwordless does not return a new id\_token

**URL:** <https://community.auth0.com/t/refresh-token-from-passwordless-does-not-return-a-new-id-token/8018>\
**Category:** Get Help\
**Tags:** refresh\_token, passwordless\
**Created:** [August 29, 2017, 11:45pm UTC](https://community.auth0.com/t/refresh-token-from-passwordless-does-not-return-a-new-id-token/8018 "2017-08-29T23:45:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meltwater-mercury](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/meltwater-mercury/32/8949_2.png) [@meltwater-mercury](https://community.auth0.com/u/meltwater-mercury)\
**Post date:** [August 29, 2017, 11:45pm UTC](https://community.auth0.com/t/refresh-token-from-passwordless-does-not-return-a-new-id-token/8018/1 "2017-08-29T23:45:16Z")

</div>

If I log in using passwordless (deeplinking method), then do a refresh\_token, I don’t get a new `id_token`, but only an `access_token`. If I log in using email/password, the `refresh_token` does return a new `id_token`. Is this by design or is it a bug in passwordless?

This is an example (doc-ed) of the POST that I used for refresh\_token:  
[https://mydomain.auth0.com/oauth/token](https://mydomain.auth0.com/oauth/token)

Payload:

```
{ 

       "grant_type": "refresh_token", 
        "client_id": "abcdefgj7L9ae32eaKSZsMBcgLugb4", 
        "refresh_token": "a1234dfgmjuQs9SDkO-zVWO2Imh3ONbU7Xom4Bun7"	
}

```

Result:

```
{

      "access_token": "rJxxxrcDzlwrEynM0",
      "expires_in": 86400,
      "token_type": "Bearer"   
      <==== The id_token is missing.
}

```

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [October 2, 2017, 4:59pm UTC](https://community.auth0.com/t/refresh-token-from-passwordless-does-not-return-a-new-id-token/8018/2 "2017-10-02T16:59:18Z")

</div>

Based on the information provided you’re performing a refresh token grant at the `/oauth/token` endpoint. This endpoint is part of the latest and recommended set of authentication endpoints which provide OpenID Connect (OIDC) conformance. However, it provides limited functionality if the refresh token in question was not obtained also through the latest authentication endpoints that also meet the OIDC compliance requirement (aka it was obtained through a legacy method).

To my knowledge, the only currently supported method to do passwordless in an OIDC conformant way would be to perform it through the hosted login page so although I haven’t used passwordless lately and as such my memory is not really fresh on the details you’re likely obtaining a refresh token through what would be considered a legacy method. In this scenario, the way to use it to obtain a _refreshed_ ID token would be to call the [delegation endpoint](https://auth0.com/docs/api/authentication#delegation) which is also legacy. The ultimate recommendation would be to stay within the boundaries of OIDC conformance, however, if you need additional time to adapt the client application you may want to consider to use a passwordless refresh token against the delegation endpoint as a temporary measure.

---

<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/refresh-token-from-passwordless-does-not-return-a-new-id-token/8018/3 "2018-03-02T05:56:12Z")

</div>


