Cannot get refresh token on Resource Owner Password Grant

Hello,

I am trying to implement the Resource Owner Password Grant flow.
I am doing a POST /oauth/token including grant_type=password, client_id, audience, username, password and scope = openid offline_access

I was expecting to get an access token, id token and refresh token but the refresh token is missing. This should be possible according to this: Refresh Tokens

Am I doing something wrong?

Thanks!

Hi @adrian.bontea,

Welcome to the Auth0 Community Forum!

Have you toggled Allow Offline Access to the on position in your API?

Let me know.

Thanks,
Dan

Thanks! I missed that setting on the API. Works now.

Great. Glad it is working for you!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.