Open bennycode opened 4 months ago
Hey there @bennycode the audience is the API identifier for an API you register in Auth0 - For more on the audience param see this community topic. Here's an example using the SDK: https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#access-an-external-api-from-an-api-route
Hey there @bennycode the audience is the API identifier for an API you register in Auth0 - For more on the audience param see this community topic. Here's an example using the SDK: https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#access-an-external-api-from-an-api-route
The developer experience getting started with Auth0 leaves a lot to be desired. It seems mind blowing that a commercial product that employs developers has "getting started" guides that require the user to hunt around debugging how to get the tool working.
As a tool that's meant to speed up development by "solving" auth, you're not doing a very good job of it.
Checklist
Description
I am new to Auth0 and followed the quickstart (https://manage.auth0.com/dashboard/eu/auth-sp-staging/applications/.../quickstart).
It describes how to "Configure the SDK" but has no instructions on what to set
AUTH0_AUDIENCE
to. WhenAUTH0_AUDIENCE
is not set, theapi-server.js
script will terminate the program:Reproduction
npm install
npm run dev
Additional context
nextjs-auth0 version
3.5.0
Next.js version
13.5.1
Node.js version
20.10.0