# Having trouble validating id tokens

**URL:** <https://community.auth0.com/t/having-trouble-validating-id-tokens/7855>\
**Category:** Get Help\
**Tags:** id-token\
**Created:** [August 16, 2017, 3:02am UTC](https://community.auth0.com/t/having-trouble-validating-id-tokens/7855 "2017-08-16T03:02:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor.altadonna](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/victor.altadonna/32/8348_2.png) [@victor.altadonna](https://community.auth0.com/u/victor.altadonna)\
**Post date:** [August 16, 2017, 3:02am UTC](https://community.auth0.com/t/having-trouble-validating-id-tokens/7855/1 "2017-08-16T03:02:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [August 16, 2017, 4:28pm UTC](https://community.auth0.com/t/having-trouble-validating-id-tokens/7855/2 "2017-08-16T16:28:01Z")

</div>

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](https://auth0.com/docs/clients/client-types#public-clients). 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.

---

<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:55am UTC](https://community.auth0.com/t/having-trouble-validating-id-tokens/7855/3 "2018-03-02T05:55:56Z")

</div>


