# Invalid Issuer, with a custom domain

**URL:** <https://community.auth0.com/t/invalid-issuer-with-a-custom-domain/109900>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [June 24, 2023, 2:44pm UTC](https://community.auth0.com/t/invalid-issuer-with-a-custom-domain/109900 "2023-06-24T14:44:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.nissan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@eric.nissan](https://community.auth0.com/u/eric.nissan)\
**Post date:** [June 24, 2023, 2:44pm UTC](https://community.auth0.com/t/invalid-issuer-with-a-custom-domain/109900/1 "2023-06-24T14:44:03Z")

</div>

Things were working at one point, but since I added a custom domain, I am getting an error with my jwt:  
Bearer error=“invalid\_token”, error\_description=“An error occurred while attempting to decode the Jwt: The iss claim is not valid”, error\_uri=“[RFC 6750 - The OAuth 2.0 Authorization Framework: Bearer Token Usage](https://tools.ietf.org/html/rfc6750#section-3.1)”

I checked the jwt, and the iss is the same as my custom domain. I setup the proxy from aws cloudfront, my domain is validated. I am able to auth with Auth0, but I get the error on the post back to my api.

What am I missing? Appreciate the help.

---

<div class="post-metadata">

**Author:** ![eric.nissan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@eric.nissan](https://community.auth0.com/u/eric.nissan)\
**Post date:** [June 26, 2023, 2:23pm UTC](https://community.auth0.com/t/invalid-issuer-with-a-custom-domain/109900/2 "2023-06-26T14:23:11Z")

</div>

ok, we figured it out. We needed our server to have the same issuer. all good.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 26, 2023, 4:59pm UTC](https://community.auth0.com/t/invalid-issuer-with-a-custom-domain/109900/3 "2023-06-26T16:59:58Z")

</div>

Thanks for following up!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 7, 2023, 8:36am UTC](https://community.auth0.com/t/invalid-issuer-with-a-custom-domain/109900/4 "2023-07-07T08:36:16Z")

</div>


