3
I am facing the need to store the access token of a user who logged in through a method with Oauth2, this JWT token will be used for my frontend application, written in React, make calls to an API "on behalf of the user".
However, this fact that in my view is sensitive how it should be stored in the customer?
I know some options like localStorage or cookies, but I would like to understand what are the pros and cons of any solution for storing this type of data.