Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTH0_AUDIENCE not set in .env.local. Shutting down API server. #1762

Closed
6 tasks done
bennycode opened this issue Jul 16, 2024 · 1 comment
Closed
6 tasks done

AUTH0_AUDIENCE not set in .env.local. Shutting down API server. #1762

bennycode opened this issue Jul 16, 2024 · 1 comment

Comments

@bennycode
Copy link

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. When AUTH0_AUDIENCE is not set, the api-server.js script will terminate the program:

if (!audience) {
  console.log('AUTH0_AUDIENCE not set in .env.local. Shutting down API server.');
  process.exit(1);
}

Reproduction

  1. Clone [email protected]
  2. Run npm install
  3. Run npm run dev

Additional context

No response

nextjs-auth0 version

3.5.0

Next.js version

13.5.1

Node.js version

20.10.0

@bennycode
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant