Access token returned by the exchange of refresh token returns Unauthorized

Hello!

I’ve been facing an issue with Access token, the react native application is using PKCE flow to get user’s access token, together with the refresh token. After the access token is expired the app use oauth/token endpoint to exchange the refresh token with a new access token, unfortunately this new access token is return unauthorized from our API and also from the userinfo endpoint.

As a side note, I’ve been testing with Auth0 dev tenant and in that tenant it’s working as expected, both our API and userinfo endpoint returns the correct user data, but Auth0 prod tenant returns unauthorized I’ve been checking for settings but all seems to be the same, so I’m looking here for ideas about why this is not working or if you have ideas how can I fix it?

I found a rule that was not adding the claims required by our API that was different on production

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