# Passing 1 audience to get access\_token request, but returned access\_token has 2 audience

**URL:** <https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738>\
**Category:** Get Help\
**Tags:** jwt\
**Created:** [August 11, 2021, 7:39am UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738 "2021-08-11T07:39:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![khanh.le](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/khanh.le/32/30916_2.png) [@khanh.le](https://community.auth0.com/u/khanh.le)\
**Post date:** [August 11, 2021, 7:39am UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/1 "2021-08-11T07:39:04Z")

</div>

Hi Auth0 Community,

I set the audience properly and get access\_token successfully, but when I use it to call API, I get 401 Authorized error with the detail like:

`Bearer error="invalid_token", error_description="The audience 'https://development.au.auth0.com/api/v2/, https://development.au.auth0.com/userinfo' is invalid"`

Then, I paste the access\_token on [jwt.io](http://jwt.io) and see that it has 2 audiences the same as the error above.

Could anybody help me out what is the problem and how to fix it. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![khanh.le](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/khanh.le/32/30916_2.png) [@khanh.le](https://community.auth0.com/u/khanh.le)\
**Post date:** [August 13, 2021, 2:11am UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/2 "2021-08-13T02:11:10Z")

</div>

Hello, can anybody know what the problem is?

---

<div class="post-metadata">

**Author:** ![lonli.lokli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lonli.lokli/32/35271_2.png) [@lonli.lokli](https://community.auth0.com/u/lonli.lokli)\
**Post date:** [April 11, 2022, 10:37pm UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/3 "2022-04-11T22:37:02Z")

</div>

It’s very long bug, unfortunately, and do not think it will be resolved.  
Shame but I had to disable Audience check and descrease security

---

<div class="post-metadata">

**Author:** ![lonli.lokli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lonli.lokli/32/35271_2.png) [@lonli.lokli](https://community.auth0.com/u/lonli.lokli)\
**Post date:** [April 12, 2022, 11:55am UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/4 "2022-04-12T11:55:01Z")

</div>

Sorry, not a bug but a by design  
[Access token has two audiences? - Auth0 Community](https://community.auth0.com/t/access-token-has-two-audiences/71041/2)

---

<div class="post-metadata">

**Author:** ![lonli.lokli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lonli.lokli/32/35271_2.png) [@lonli.lokli](https://community.auth0.com/u/lonli.lokli)\
**Post date:** [April 12, 2022, 12:57pm UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/5 "2022-04-12T12:57:33Z")

</div>

Sorry again, it’s actually an easy - you should validate against same audience as you have in token ask on UI

---

<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:** [April 12, 2022, 2:13pm UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/6 "2022-04-12T14:13:33Z")

</div>

No worries! We’ve all been there and thanks for sharing with the rest of community!

---

<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:** [April 12, 2022, 2:13pm UTC](https://community.auth0.com/t/passing-1-audience-to-get-access-token-request-but-returned-access-token-has-2-audience/67738/7 "2022-04-12T14:13:36Z")

</div>


