# Keep getting invalid audience

**URL:** <https://community.auth0.com/t/keep-getting-invalid-audience/76404>\
**Category:** Get Help\
**Created:** [January 14, 2022, 3:55am UTC](https://community.auth0.com/t/keep-getting-invalid-audience/76404 "2022-01-14T03:55:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/coder/32/34405_2.png) [@coder](https://community.auth0.com/u/coder)\
**Post date:** [January 14, 2022, 3:55am UTC](https://community.auth0.com/t/keep-getting-invalid-audience/76404/1 "2022-01-14T03:55:15Z")

</div>

Hi Guys,  
I am working on flask application with auth0, but when i am try to validate jwt token which i am getting from auth0 from this /oauth/token endpoint is keep throwing invalid audience error .

CLIENT\_ORIGIN\_URL=[http://localhost:4040](http://localhost:4040)  
AUTH0\_AUDIENCE=[https://tests.example.com](https://tests.example.com)  
AUTH0\_DOMAIN={AUTH0\_Name}.us.auth0

---

<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:** [January 14, 2022, 6:52pm UTC](https://community.auth0.com/t/keep-getting-invalid-audience/76404/3 "2022-01-14T18:52:52Z")

</div>

Hi @coder,

Welcome to the Auth0 Community!

Have you registered the API, set the correct identifier, and allowed access to the client in the dashboard? The audience you are sending should be the same as the API identifier you see in the dashboard.

Let me know!

---

<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:** [March 14, 2022, 6:13pm UTC](https://community.auth0.com/t/keep-getting-invalid-audience/76404/4 "2022-03-14T18:13:43Z")

</div>


