Ready to post? First, try searching for your answer.
I’m trying to set up my web application in a production environment.
This is working perfectly fine in development, and I’m unable to see any difference in settings between environments.
The inital login request contains the client id
https://[DOMAIN]/authorize?client_id=&scope=openid%2520profile%2520read%3Ashows%2520offline_access&response_type=code&redirect_uri=https%3A%2F%2F{DOMAIN]%2Fapi%2Fauth%2Fcallback&audience=https%3A%2F%2Fapi.[DOMAIN]&prompt=login&nonce=…
Fails when it sucessfully logs in with 400 error
https://{DOMAIN}/api/auth/callback?code=…&state=…
{
“date”: “2024-12-05T17:11:13.489Z”,
“type”: “feacft”,
“description”: “Unauthorized”,
“connection_id”: “”,
“client_id”: null,
“client_name”: null,
“ip”: “34.34.248.84”,
“user_agent”: “Other 0.0.0 / Other 0.0.0”,
“details”: {
“code”: “******************************************Lck”
},
“hostname”: “[TENNANT]”,
“user_id”: “”,
“user_name”: “”,
“auth0_client”: {
“name”: “nextjs-auth0”,
“version”: “3.5.0”,
“env”: {
“node”: “v20.17.0”
}
},
“$event_schema”: {
“version”: “1.0.0”
},
“log_id”: “…”,
“tenant_name”: “my-normative-production”,
“_id”: “…”,
“isMobile”: false,
“originalData”: {
“date”: “2024-12-05T17:11:13.489Z”,
“type”: “feacft”,
“description”: “Unauthorized”,
“connection_id”: “”,
“client_id”: null,
“client_name”: null,
“ip”: “34.34.248.84”,
“user_agent”: “Other 0.0.0 / Other 0.0.0”,
“details”: {
“code”: “******************************************Lck”
},
“hostname”: “[TENNANT]”,
“user_id”: “”,
“user_name”: “”,
“auth0_client”: {
“name”: “nextjs-auth0”,
“version”: “3.5.0”,
“env”: {
“node”: “v20.17.0”
}
},
“$event_schema”: {
“version”: “1.0.0”
},
“log_id”: …",
“tenant_name”: “[TENANT]”,
“_id”: “…”,
“isMobile”: false
},
“integrityRuleset”: {},
“id”: “…”
}
I’ve tried changing auth token endpoint bhaviour and that has no effect.
Any thoughts?