My bad. I misunderstood the statement. So, the user won’t be logged out, but the user will not be authenticated with the backend either, right? I am using Auth0’s Spring Security library to authenticate the user in the backend using the access token received then the user logs into the frontend via pre-authentication token. So, if the token expires while the user is logged in, all of their API calls will return 401. How do I get a new token in this case?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Expire access token when Logout | 3 | 7800 | July 19, 2024 | |
Any way to kill a token upon logout? (2020 edition) | 2 | 4548 | March 21, 2020 | |
Invalidating an Access Token after User Logout | 1 | 22755 | February 27, 2023 | |
How to destroy JWT token when signout | 2 | 11206 | March 2, 2018 | |
Logging user out when they change their password | 7 | 155 | February 5, 2025 |