Auth0 Home Blog Docs

Having trouble validating id tokens



Did idTokens change from lock to the new version of auth0. I am having trouble validating tokens using the new react-native-auth0 library.


There was a change, applicable only when using OIDC compliant authentication, about the signing algorithm of an ID token when it’s being issued to a public client. If you switched libraries it may be that you are now also triggering an OIDC compliant response and this case the ID token will be forcefully signed with RS256 if the client application is a public one.

If you were expecting an ID token signed with HS256 then that could explain the situation, but this is only a guess because the amount of information provided is insufficient to provide a definitive answer.