fotexnet / fotexnet/react-auth

[BUG]: Does not invalidate session when expired

Open
#83 0 comments 0 reactions 1 assignee Claimed by @kmpizmad View on GitHub
bug
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

When the token expires, the `UserProvider` keeps the user state, which is a HUGE problem, because the user cannot logout or do anything that requires a token, since they can only see the logged in user interface.

**To Reproduce**
1. Log in
2. Wait for token expiry
3. Try to do anything that requires token
4. See error

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.