KindeK
Kinde11mo ago
4 replies
scottwbk

Playwright based authentication errors - in vercel preview environment

I'm getting this error

{"error":"Authentication flow: State mismatch. Received: be9fa006355ccac6bd395933c3fe | Expected: 987605400499fff4b597efc2e1b3"}
at
https://....hj-flowt.vercel.app/api/auth/kinde_callback?code=of....

it's only happening in vercel preview and via playwright. App auth setup is via the Kinde Nextjs docs.

Any ideas or suggestions?
Was this page helpful?