[BUG] Clerk: Error: Clerk: Unable to decrypt request data, this usually means the encryption key is invalid.
#281
Labels
bug
Something isn't working
Describe the bug
Been having issue trying to setup a NextJS 15 app with Opennextjs.
It seems to work fine locally when using NextJS 14 but i get the following error from the middleware when trying to access a protected page on NextJS 15:
Steps to reproduce
Replication of bug:
https://github.com/jenslys/clerk-opennext-bug
Working version with NextJS 14 on commit: jenslys/clerk-opennext-bug@940a93a
Expected behavior
Clerk should be able to decrypt key middleware should work
@opennextjs/cloudflare version
0.3.9
Wrangler version
3.105.0
next info output
Additional context
I have also posted a ticket regarding this in the Clerk discord, linked here, since i am unsure if this is a Clerk issue or Opennextjs issue:
https://discord.com/channels/856971667393609759/1329736080962097162
The text was updated successfully, but these errors were encountered: