Hi,
I created a new “Regular Web Application” with NextJS as my framework. I applied the callback url as well as the Allowed Logout URLs and installed the necessary packages as well. However i’m having this weird error message pasted below:
LoginHandlerError: Login handler failed. CAUSE: Discovery requests failing for https://dev-t44xspsfjz2mwxzc.us.auth0.com, unable to get local issuer certificate
[0] at LoginHandlerError.AuthError [as constructor] (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/utils/errors.js:34:16)
[0] at LoginHandlerError.HandlerError [as constructor] (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/utils/errors.js:111:24)
[0] at new LoginHandlerError (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/utils/errors.js:162:28)
[0] at Object.<anonymous> (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/handlers/login.js:36:31)
[0] at step (/Users/yannbohbot/Downloads/sample-01 2/node_modules/tslib/tslib.js:144:27)
[0] ... 2 lines matching cause stack trace ...
[0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[0] code: 'ERR_LOGIN_HANDLER_FAILURE',
[0] cause: DiscoveryError: Discovery requests failing for https://dev-t44xspsfjz2mwxzc.us.auth0.com, unable to get local issuer certificate
[0] at DiscoveryError.EscapedError [as constructor] (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/auth0-session/utils/errors.js:14:16)
[0] at new DiscoveryError (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/auth0-session/utils/errors.js:86:16)
[0] at Object.<anonymous> (/Users/yannbohbot/Downloads/sample-01 2/node_modules/@auth0/nextjs-auth0/dist/auth0-session/client.js:48:27)
[0] at step (/Users/yannbohbot/Downloads/sample-01 2/node_modules/tslib/tslib.js:144:27)
[0] at Object.throw (/Users/yannbohbot/Downloads/sample-01 2/node_modules/tslib/tslib.js:125:57)
[0] at rejected (/Users/yannbohbot/Downloads/sample-01 2/node_modules/tslib/tslib.js:116:69)
[0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
[0] status: undefined
[0] }
Can anyone help me understand what’s going on?