nuxt-openid-connect icon indicating copy to clipboard operation
nuxt-openid-connect copied to clipboard

state mismatch, expected undefined, got:

Open barbirict opened this issue 1 year ago • 3 comments

500 state mismatch, expected undefined, got: at (./src/runtime/server/routes/oidc/callback.ts:47:1) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.handler (./node_modules/h3/dist/index.mjs:1697:19) at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:1907:7)

I can't get the playground to work, it only works if I manually change the openid-client dependency code and disable state checking. Config is the same as in the example with only the issuer url, clientid and secret changed. Any ideas?

barbirict avatar Feb 13 '24 19:02 barbirict

Hey @barbirict,

Did you find a trick to stop getting this error? I also have it on my side

Thanks,

johnatas-x avatar Oct 02 '24 12:10 johnatas-x

Hey @barbirict,

Did you find a trick to stop getting this error? I also have it on my side

Thanks,

Hi @johnatas-x, sadly, I never did. Posted here in hope developers give me an answer, I put the project I was working on on pause in the meantime.

barbirict avatar Oct 06 '24 18:10 barbirict

Hi @barbirict, Thanks for your answer. For my part, I will switch to nuxt-oidc-auth

johnatas-x avatar Oct 07 '24 08:10 johnatas-x