You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
After the recent release of chainlit (f308392) the refresh_token gets stored in the User object which is written to the JWT that is stored in the cookie in chunks as accesstoken_0 and accesstoken_1. I believe this isn't the best security practice and may have CSRF vulnerabilities.
Describe the solution you'd like
I think the refresh token should only be stored in a data layer and not in the User metadata which gets written to JWT.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
After the recent release of chainlit (f308392) the refresh_token gets stored in the User object which is written to the JWT that is stored in the cookie in chunks as accesstoken_0 and accesstoken_1. I believe this isn't the best security practice and may have CSRF vulnerabilities.
Describe the solution you'd like
I think the refresh token should only be stored in a data layer and not in the User metadata which gets written to JWT.
The text was updated successfully, but these errors were encountered: