Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



We 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-sess...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: