I’m developing a web application using React.js. And I read that it is not safe to store the refresh_token in local storage, so I want to extend the access token and refresh token. The refresh token will be in httponly cookie, and the access_token will be in local.storage. For react I use the library “oidc-client-ts”. Tell me, please, how can I implement this?
I tried to figure it out myself, but nothing worked
New contributor
keks01 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.