Fixed issue where expired sessions showed "Unauthorized User" by implementing token refresh or redirect to login page. #70

Merged
vikas.nale merged 1 commits from Ashutosh_Bug#190_Request_JWT_Token into Issue_May_2W 2025-05-07 08:09:36 +00:00
Collaborator

Before Changes:
When a user session expires on the idle website, the application currently returns an error with the message "Unauthorized User."

After Changes:

  1. If the user has a valid refresh token, a request is sent to the API to obtain a new JWT token.
  2. If the refresh token is invalid or missing, the user is redirected to the login page.
**Before Changes**: When a user session expires on the idle website, the application currently returns an error with the message "Unauthorized User." **After Changes**: 1. If the user has a valid refresh token, a request is sent to the API to obtain a new JWT token. 2. If the refresh token is invalid or missing, the user is redirected to the login page.
ashutosh.nehete added 1 commit 2025-05-07 07:53:54 +00:00
vikas.nale merged commit 55aa6ec499 into Issue_May_2W 2025-05-07 08:09:36 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.web#70
No description provided.