HELP! v14 Unhandled Exception in 2 apps! After okta change? Cookie encoding?
Unanswered
Alligator mississippiensis posted this in #help-forum
Alligator mississippiensisOP
Two NextJS 14 apps starting simultaneously failing with unhandled exceptions after the first request 2 days ago. Server restart fixes it for a while, then users get the error again when logging in. One uses NextAuth, the other not.
Common: Both use Okta auth, and our server was reconfigured with Okta FastPass the day before errors started happening. Surely this caused something... but what?!
My suspicion is that some okta cookies have changed or something? Maybe some encoding issues, and NextJS is failing deep internally when decoding? I have read a few issues about cookie encoding with % failing?
The teams have been struggling for 2 days to even identify the root cause. Does this ring a bell for anyone?
Common: Both use Okta auth, and our server was reconfigured with Okta FastPass the day before errors started happening. Surely this caused something... but what?!
My suspicion is that some okta cookies have changed or something? Maybe some encoding issues, and NextJS is failing deep internally when decoding? I have read a few issues about cookie encoding with % failing?
The teams have been struggling for 2 days to even identify the root cause. Does this ring a bell for anyone?
1 Reply
Alligator mississippiensisOP
Versions: 14.1.4, 14.2.2