# JWT access-token without sending an audience to /authorize endpoint?

**URL:** <https://community.auth0.com/t/jwt-access-token-without-sending-an-audience-to-authorize-endpoint/56141>\
**Category:** Get Help\
**Tags:** authorization-code, access-token\
**Created:** [January 13, 2021, 2:44pm UTC](https://community.auth0.com/t/jwt-access-token-without-sending-an-audience-to-authorize-endpoint/56141 "2021-01-13T14:44:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tomer/32/13728_2.png) [@tomer](https://community.auth0.com/u/tomer)\
**Post date:** [January 13, 2021, 2:44pm UTC](https://community.auth0.com/t/jwt-access-token-without-sending-an-audience-to-authorize-endpoint/56141/1 "2021-01-13T14:44:37Z")

</div>

How a client can get a JWT access-token _without_ sending an audience parameter to /authorize endpoint, during authorization-code flow?  
I’m integrating with a 3rd-party which I do not have control over the ‘audience’ parameter sent to the /authorize endpoint during authorization-code flow.  
As a result, the 3rd-arty client receives an opaque access token, not jwt, and cannot access my service.

---

<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 13, 2021, 10:48pm UTC](https://community.auth0.com/t/jwt-access-token-without-sending-an-audience-to-authorize-endpoint/56141/3 "2021-01-13T22:48:37Z")

</div>

Hi @tomer,

Welcome to the Community!

There isn’t a way to get the token as a JWT when the only intended audience is an internal Auth0 userinfo API. This is because the tokens aren’t intended to be consumed by a client or other resource.

It sounds like your service should be the intended audience if I understand your description correctly. If your service is meant to be the default audience on the tenant you can use the [default audience setting](https://auth0.com/docs/get-started/dashboard/tenant-settings#api-authorization-settings) to automatically append it to the requests from any applications in your tenant.

---

<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:** [February 12, 2021, 6:20pm UTC](https://community.auth0.com/t/jwt-access-token-without-sending-an-audience-to-authorize-endpoint/56141/4 "2021-02-12T18:20:37Z")

</div>

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