React authentication updates

Job ID: 32072857

Budget: $30 – $250 AUD

Hi,

I am using the react version of this theme: https://pixinvent.com/demo/vuexy-react-admin-dashboard-template/demo-1/dashboard/ecommerce

I have also built a seperate node API for the backend. (Just started)

The Vuexy theme includes a JWT service which allows for token refreshes when the auth token expires - however I would like to improve on the security of this by updating to include the following:

- Change the refreshToken storage to store within a more secure location (e.g. httponly cookie). This is currently stored within localStorage
- Logout the user when the refreshToken expires. The expected timeout should be 15 minutes on inactivity

Thanks
Related categories: JavaScript Node.js React.js Redux.js