Ping an external API by clicking the button below.
This will call a local API on port 3001 that would have been started if you
run npm run dev (or npm run server:api). An access token is sent as part of the
request's `Authorization` header and the API will validate it using the
API's audience value.
You can't call the API at the moment because your application does not
have any configuration for audience, or it is using the
default value of YOUR_API_IDENTIFIER. You might get this
default value if you used the "Download Sample" feature of
the quickstart guide , but have not set an API up in your Auth0 Tenant. You can find out
more information on
setting up APIs in the Auth0
Docs.
The audience is the identifier of the API that you want to call (see API Authorization Settings for more info).
In this sample, you can configure the audience by specifying it in the
auth_config.json file (see the
auth_config.json.example file for an example of where it
should go)
Once you have configured the value for audience, please
restart the app and try to use the "Ping API" button below.
Ping an external API by clicking the button below. This will call the external API using an access token, and the API will validate it using the API's audience value.