# Non interactive client / Resource Owner Password / Refresh Token

**URL:** <https://community.auth0.com/t/non-interactive-client-resource-owner-password-refresh-token/8285>\
**Category:** Get Help\
**Tags:** resource-owner-passw, non-interactive, refresh-tokens\
**Created:** [September 25, 2017, 3:40am UTC](https://community.auth0.com/t/non-interactive-client-resource-owner-password-refresh-token/8285 "2017-09-25T03:40:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dslee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dslee/32/7297_2.png) [@dslee](https://community.auth0.com/u/dslee)\
**Post date:** [September 25, 2017, 3:40am UTC](https://community.auth0.com/t/non-interactive-client-resource-owner-password-refresh-token/8285/1 "2017-09-25T03:40:41Z")

</div>

I am expecting a `refresh_token` for the following request. The `refresh_token` is not in the response. What am I doing wrong?

REQUEST:

```
{
	"grant_type": "http://auth0.com/oauth/grant-type/password-realm",
	"username": "blah@blah.com",
	"password": "pwd",
	"audience": "https://mayapi.whatever.com/",
	"client_id": "yfyfdsfsdk...",
	"client_secret": "hjklhjkl...",
	"realm": "Username-Password-Authentication",
	"device": "client-mach",
	"scope": "openid offline_access profile"
}

```

RESPONSE:

```
{
	"access_token": "eyJ0eXAiOiJKV1QiLCJhbG ...",
	"id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOi ...",
	"scope": "openid profile",
	"expires_in": 86400,
	"token_type": "Bearer"
}

```

---

<div class="post-metadata">

**Author:** ![dslee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dslee/32/7297_2.png) [@dslee](https://community.auth0.com/u/dslee)\
**Post date:** [September 25, 2017, 4:12am UTC](https://community.auth0.com/t/non-interactive-client-resource-owner-password-refresh-token/8285/2 "2017-09-25T04:12:31Z")

</div>

Solution:  
Make sure the API option “Allow Offline Access” is selected.

---

<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/non-interactive-client-resource-owner-password-refresh-token/8285/3 "2018-03-02T05:56:39Z")

</div>


