K
Kinde10mo ago
akosipc

Malformed Response Cookie

Hello, we've been getting a malformed cookie response when certain roles are added a user with multiple organizations assigned. Please see the video reference, I've tried to re-create this in our dev and staging environments but I cannot recreate it Kinde Package is: "@kinde-oss/kinde-auth-nextjs": "^1.8.19" Using pages for next.js and SDK v1 Video Reference: https://www.loom.com/share/b59a444c7a6e42c0912d57f3534d1e3e
Loom
Persistent Issue with Account Login
I am experiencing a persistent issue with logging into my account on the production server. The problem seems to be related to a rule that is causing a malformed cookie response. I will demonstrate the issue and explain how it only affects users with multiple organizations. Any help in resolving this issue would be greatly appreciated.
3 Replies
Daniel_Kinde
Daniel_Kinde10mo ago
Thanks for the message and loom, I will look into this and come back to you.
david - Kinde
david - Kinde10mo ago
Hi akosipc, could you confirm what the 'key' is for the business role and if this is consistent in both your environments please. Also looks like the callback url gets hit and the cookie contains a returned token, would you mind copying a token and pasting it into jwt.io and seeing if this is valid or not please, and if you could PM me or Dan the results / the token this would help with debugging. Thanks
akosipc
akosipcOP10mo ago
@Daniel_Kinde @davidkinde Both roles for Manager and Business Owner are consistent in both environments sent you a DM for the decoded JWT
Want results from more Discord servers?
Add your server