Closed sjmcdowall closed 6 years ago
Wow, I have a little bit forgot the code. But as my understanding, the Cookies are tightly integrated into the middleware. I think maybe you will need to re-write a lot of code to get rid of the Cookies
I think you are right :)
Sent from my iPad
On Aug 7, 2018, at 6:34 AM, Chen Zhutian notifications@github.com wrote:
Wow, I have a little bit forgot the code. But as my understanding, the Cookies are tightly integrated into the middleware. I think maybe you will need to re-write a lot of code to get rid of the Cookies
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I am trying to use this in my TS node project .. and I am using a Redis store (or planning to) .. but I don't want to use Cookies at all, rather I want to use a JWT that comes in .. I am thinking I can overwrite the gedSid to use the JWT to generate the SID, which would then be used for any set/get's ? Am I reading this right? Am I on the right track here at all? :) Cheers!
Looking at the code -- it doesn't seem like the above is sufficient .. This seems pretty tied into using Cookies to get a SessionId and a bunch of stuff that isn't needed if not using Cookies?? :(