K
Kinde7mo ago
guo0429

is it possible to use session manager (typescript sdk) with client side only cookie?

I am using cloudrun for my app and I don’t want to use a redis server or database to hold session. Will the client only cookie for authentication work? :
3 Replies
Claire_Kinde
Claire_Kinde7mo ago
Hi there. I'm just asking a member of our team about this. Will get back to you soon.
leo_kinde
leo_kinde7mo ago
Hi @guo0429 , you can use cookies for storage. It is good to do as you have done and have them as HttpOnly and Secure for security. Just be aware if you add many additional claims to your tokens you may exceed the limit for cookie size (4kb).
guo0429
guo0429OP7mo ago
@leo_kinde thanks very much!
Want results from more Discord servers?
Add your server