-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement token expiration check to reuse valid tokens during l…
…ogin - Added `isTokenExpired` function to decode JWT token and verify its expiration (`exp` field). - Modified `executeLogin` to reuse existing tokens if they are still valid, avoiding unnecessary credential prompts. - Enhanced user experience by skipping login credentials input when a valid token is available. Signed-off-by: Youngjin Jo <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters