You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, looks like this doesn't work as I expected when using cookie schema (I was using it on logout route only) or probably I am dumb to not understand this. Removing cookie schema works fine but I am not sure if it should be considered an issue or not.
If this is an intentional behavior, then you can close this issue and please also provide short explanation as I am extremely confused.
What version of Elysia.JS is running?
1.0.26
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
When I am using Cookie Signature, it's signing the cookies but it's not unsigning them when accessing it.
What is the expected behavior?
It should unsign the cookies while accessing it.
What do you see instead?
If the cookie is altered, I get the error saying
"accessToken" has invalid cookie signature
but when accessing it, it's not getting unsigned.Additional information
I have a separate handler for auth related stuff like this:
The text was updated successfully, but these errors were encountered: