# Unable to get id token from refresh token obtain via Lock

**URL:** <https://community.auth0.com/t/unable-to-get-id-token-from-refresh-token-obtain-via-lock/8182>\
**Category:** Get Help\
**Tags:** auth0-lock, refresh-tokens, lock\
**Created:** [September 14, 2017, 1:14pm UTC](https://community.auth0.com/t/unable-to-get-id-token-from-refresh-token-obtain-via-lock/8182 "2017-09-14T13:14:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gowthamgts12](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gowthamgts12/32/3460_2.png) [@gowthamgts12](https://community.auth0.com/u/gowthamgts12)\
**Post date:** [September 14, 2017, 1:14pm UTC](https://community.auth0.com/t/unable-to-get-id-token-from-refresh-token-obtain-via-lock/8182/1 "2017-09-14T13:14:08Z")

</div>

Hello, we are trying to get a newly issued id token from refresh token obtain via auth0 lock. When trying to get a new token via refresh token, we’re getting only `access_token` and not `id_token`.

Although, by using the refresh token obtain by using the following payload, we’re able to get both `id_token` and `access_token`:

```
{
	"grant_type": "http://auth0.com/oauth/grant-type/password-realm",
	"client_id": "<client_id>",
	"realm": "<connection_name>",
	"username": "<username>",
	"password": "<password>",
	"scope": "openid full_scope offline_access",
	"response_type": "token id_token"
}

```

We’re using the same `scope` and `response_type` in the auth0 lock options. What are we missing here?

---

<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/unable-to-get-id-token-from-refresh-token-obtain-via-lock/8182/2 "2018-03-02T05:56:28Z")

</div>


