Weird bug on /+server.ts endpoint after migration to the new routing schema. Looking for help trying to diagnose #6404
-
Like the title says, I have a project that I am finishing up the migration for and I have encountered a weird "bug" inside of an authentication flow. I put quotes around the word bug because I don't know if it's my fault or if I really did stumble onto something broken. I was having trouble writing out a post about this so I ended up recording the video explaining it and giving it context. Here is the video I recorded on my local dev machine: oAuth.help.mp4Almost identical actions happen but one works and the other one doesn't. I am looking for any suggestions on how to hunt down this bug. The same code sets the locals / cookies when it works as when it doesn't. I would post more of the code but there is are a lot of things that happen in the Any help or feedback would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
solved this, changing sameSite setting on cookies fixed the issue |
Beta Was this translation helpful? Give feedback.
solved this, changing sameSite setting on cookies fixed the issue