typebot.io
typebot.io copied to clipboard
Custom OAuth: InvalidCheck: pkceCodeVerifier value could not be parsed
Describe the bug I run in the following bug:
We do use a Zitadel.cloud instance as Custom OAuth provider. I found the following issue in auth.js: https://github.com/nextauthjs/next-auth/issues/12345 - which potentially is related. However, reporters referencing Keycloak and Google Provider. Also, looks like the bug arises with NextJS 15.* as one commenter stated to fix it using NextJS 14.*.
Before the upgrade to 3.8.0 my Zitadel App was set to "Code" authentication. The same problem comes when setting it back to this. Configuration works for typebot 3.3.0.
Issue on auth.js also hints on PKCE being the default in 5.*, as I understand.
The error arises after the User goes to the authentication process, so after logging into Zitadel.
To Reproduce Steps to reproduce the behavior:
- Typebot 3.8.0
- Zitadel Cloud Custom OAuth PKCE Web App
Expected behavior User gets logged in.