typebot.io icon indicating copy to clipboard operation
typebot.io copied to clipboard

Custom OAuth: InvalidCheck: pkceCodeVerifier value could not be parsed

Open crzdg opened this issue 5 months ago • 5 comments

Describe the bug I run in the following bug:

Image

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:

  1. Typebot 3.8.0
  2. Zitadel Cloud Custom OAuth PKCE Web App

Expected behavior User gets logged in.

crzdg avatar Jun 04 '25 13:06 crzdg