Access token JWT contains unrequested audience

We currently are trying to start working with Auth0, and have the following situation:

  • we use a custom domain “
  • we have an API (ASP.NET Core) and a SPA (React)
  • both are registered in Auth0, the API with an identifier “
  • the React app makes a login call to Auth0 using auth0.js, with the following options:
    auth0 = new auth0.WebAuth({
    domain: “”,
    clientID: superinterestingclientid,
    audience: “”,
    responseType: “token id_token”,
    scope: “openid”

When we receive the authResult from Auth0, it looks as follows:
“iss”: “”,
“sub”: “auth0|1234567890”,
“aud”: [”,
“iat”: 1542895049,
“exp”: 1542902249,
“azp”: “alsosuperinteresting”,
“scope”: “openid”

I understand the audience field from the JWT can be validated by the API to match its own configured valid audience; I also think I understand the second audience ( exists so we can use the access token to make calls to the Auth0 Management API. However, we’re currently not looking to make calls to the Auth0 Management API, and are not really keen to see the tenant name show up in the audience list in the access token.

So my probably super-stupid question: is there some way to ensure the access token only contains the given audience, “”?


Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?