issues
search
Cinevoraces
/
cinevoraces
3
stars
1
forks
source link
136 app user session persistence
#137
Closed
Julien-Goletto
closed
1 year ago
Julien-Goletto
commented
1 year ago
[x] User persistence is now done with localStorage instead of sessionStorage
[x] Adding cookie configuration to handle persistence of refreshTokens beyond user's session (default value)
[x] httpOnly parameter can't be set to true unless you add a logout route that destroys it (future issue coming)
[x] Adding logout middleware client-side to handle logout outside of components
[x] refactoring logout routine
[x] When a session expires (due to refreshToken peremption), a message is sent then the user is logged out.
[x] fixed double toast triggering by passing an id
[x] misc additional small fixes