3 ms·
Could you provide some details on where you are storing the tokens on the client side to persist the session? The best practice currently seems to be storing th
by markandrewj 6y ago
Could you provide some details on where you are storing the tokens on the client side to persist the session? The best practice currently seems to be storing the tokens in http only cookies.
I built something not long ago like this for myself. I haven't made it publicly available though.
- advaitruia 6y agoWe use httponly cookies too. Yes, we wrote a blog post on cookies vs localstorage too - that you can read here: https://supertokens.io/blog/cookies-vs-localstorage-for-sessions-everything-you-need-to-know https://supertokens.io/blog/cookies-vs-localstorage-for-sess...