I’m new to Auth0 and have setup a native iOS client. However, when trying to renew access tokens with refresh tokens I get the following error:
“unauthorized_client” with description “Grant type ‘refresh_token’ not allowed for the client.”
I have already implemented openid and offline_access scopes. However, in client settings → Grant types, only Implicit and Authorisation code are available. There is no option for refresh_token to be allowed.
I’m having the same problem. If I created a new client with Native type then I can see Refresh Token grant type, but my app is created quite long time ago and now I don’t see Refresh Token grant type available for it.
Based on the information you provided one possible explanation would be that the client application was not explicitly marked as being a first-party application which was then causing issues with the grant type configuration.
If you haven’t done so already can you ensure that the client application in question is flagged with "is_first_party": true (assuming this is indeed a first-party application). This flag is not surfaced in the Dashboard, but you can update the client application to include it by performing a PATCH client request through the Management API.
If the above does not prove to be the source of the issue please update the question with more information about the configuration of the client application.
Thanks @jmangelo. I was at an early stage in development so I ended up spawning a new client and that seemed to have the appropriate grant types available. Thank you though