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
Hi there. I'm just asking a member of our team about this. Will get back to you soon.
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).@leo_kinde thanks very much!