# Invalid ID token: Issuer (iss) claim mismatch in the ID token

**URL:** <https://community.auth0.com/t/invalid-id-token-issuer-iss-claim-mismatch-in-the-id-token/107904>\
**Category:** Get Help\
**Tags:** signup-prompt-new-experience, login-experience\
**Created:** [May 26, 2023, 3:29pm UTC](https://community.auth0.com/t/invalid-id-token-issuer-iss-claim-mismatch-in-the-id-token/107904 "2023-05-26T15:29:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![codexitos](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/codexitos/32/45246_2.png) [@codexitos](https://community.auth0.com/u/codexitos)\
**Post date:** [May 26, 2023, 3:29pm UTC](https://community.auth0.com/t/invalid-id-token-issuer-iss-claim-mismatch-in-the-id-token/107904/1 "2023-05-26T15:29:53Z")

</div>

The application in universal login start to give this error out of nowhere . “Issuer (iss) claim mismatch in the ID token, expected “[https://https](https://https)://auth0-domain.us.auth0.com/”, found “[https://auth0-domain.us.auth0.com/](https://auth0-domain.us.auth0.com/)””

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 26, 2023, 7:09pm UTC](https://community.auth0.com/t/invalid-id-token-issuer-iss-claim-mismatch-in-the-id-token/107904/3 "2023-05-26T19:09:57Z")

</div>

Hi there @codexitos welcome to the community!

> [@codexitos](#):
>
> The application in universal login start to give this error out of nowhere .

That’s bizarre this seemingly came out of nowhere as I suspect it’s do to a misconfiguration in application code. This is typically caused by setting the incorrect issuer (i.e. `https://https://auth0-domain.us.auth0.com/`) on the [Auth0Provider](https://auth0.github.io/auth0-react/interfaces/Auth0ProviderOptions.html#issuer) or similar interface in the SDK you’re working with. The issuer defined in the configuration linked is what’s used in validation of the ID token - Omitting the issuer will default to the `domain` which should avoid this issue as well.

Hope this helps at least give you an idea of what might be going on!

---

<div class="post-metadata">

**Author:** ![fergusonw55005](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fergusonw55005/32/45152_2.png) [@fergusonw55005](https://community.auth0.com/u/fergusonw55005)\
**Post date:** [May 27, 2023, 10:18am UTC](https://community.auth0.com/t/invalid-id-token-issuer-iss-claim-mismatch-in-the-id-token/107904/4 "2023-05-27T10:18:12Z")

</div>

i have some information about your question which i shared, ID tokens are used in authentication processes to verify the identity of a user. The issuer claim indicates the entity that issued the token, usually an identity provider or an authentication server. When validating the ID token, the receiving party checks whether the issuer claim matches the expected value to ensure the token’s authenticity and integrity.

---

<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:** [June 10, 2023, 10:18am UTC](https://community.auth0.com/t/invalid-id-token-issuer-iss-claim-mismatch-in-the-id-token/107904/5 "2023-06-10T10:18:31Z")

</div>

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