Overview
Use the refresh token in the frontend when the user is logged in and has an access token but gets an access denied or some sort of thing like that proib will be a 401 error.
Tasks
- Make /auth/refresh route in the backend
- Add in refresh token logic frontend
Acceptance Criteria
- Frontend uses refresh token correctly
- Backend routes gives back new refresh and id token