Could you double-check the existing configuration in the .env
file to ensure it reflects the latest updates? Auth0 has changed some property names in the most recent version.
In my case:
AUTH0_BASE_URL
should be APP_BASE_URL
AUTH0_ISSUER_BASE_URL
should be AUTH0_DOMAIN
You can refer to the latest documentation here for more details.
The complete list of updated environment variable names is as follows:
AUTH0_SECRET='use [openssl rand -hex 32] to generate a 32 bytes value'
APP_BASE_URL='http://localhost:3000'
AUTH0_DOMAIN='https://xxx.auth0.com'
AUTH0_CLIENT_ID='{yourClientId}'
AUTH0_CLIENT_SECRET='{yourClientSecret}'