Cypress Auth0 tenant settings - what is "default audience"

Viewed 23

I'm following the Auth0 application setup instructions for Cypress testing, as detailed here.

I'm stuck on this step

Next, click your Tenant icon (upper right avatar menu) to go to your Tenant Settings. On the General tab go to the API Authorization Settings.

What do I put for your-api-id (I'm not very familiar with Auth0 terminology).

1 Answers

This is the URL that the Cypress test will use to call Auth0.

I find a good default is the Domain under the Application settings

  • Navigate to the Applications menu
  • Choose the application you are about to test
  • Go to Setting sub-menu
  • Copy the Domain setting from there

Example:

Domain:                          <my-domain>.us.auth0.com  
Tenant Default Audience: https://<my-domain>.us.auth0.com/api/v2/

where <my-domain> is the domain assigned during application setup.

Related