Skip to content

Inconsistencies in env vars between Next.js quickstart and sample code #176

@bcanzanella

Description

@bcanzanella

Checklist

  • I have looked into the Readme and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Hello!
In your guide for Next.Js https://auth0.com/docs/quickstart/webapp/nextjs/interactive it uses the env var APP_BASE_URL but your Next.js sample https://github.com/auth0-samples/auth0-nextjs-samples/blob/main/Sample-01/.env.local.example uses AUTH0_BASE_URL. Is AUTH0_BASE_URL the correct one?

Also, the sample includes:

AUTH0_ISSUER_BASE_URL='https://{DOMAIN}'
AUTH0_AUDIENCE=
AUTH0_SCOPE='openid profile'

Are those required? Which are optional?

Reproduction

Check each of those urls...

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions