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
I didn't think it was possible to store a "cookie in localstorage". You either store info in a cookie or store info in local storage but not a cookie in local storage.
It says "user information". If this is non-secret stuff from the ID token like name I suppose that's ok but as I understood Auth0 was following all the best practices and not storage sensitive / secrete info in localStorage since it could be compromised by 3rd party scripts. Maybe clarify what this user information is so users don't get worried and think this library is risky.
The text was updated successfully, but these errors were encountered:
I thought there was some confusing wording in the readme about using cookies and localstorage.
https://github.com/Swizec/useAuth/blame/master/README.md#L126
I didn't think it was possible to store a "cookie in localstorage". You either store info in a cookie or store info in local storage but not a cookie in local storage.
It says "user information". If this is non-secret stuff from the ID token like name I suppose that's ok but as I understood Auth0 was following all the best practices and not storage sensitive / secrete info in
localStorage
since it could be compromised by 3rd party scripts. Maybe clarify what this user information is so users don't get worried and think this library is risky.The text was updated successfully, but these errors were encountered: