B1TSH3LL / B1TSH3LL/Codex3102

Refresh Route Not Working After Access Token Deletion in Authentication System

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement good first issue help wanted issue wontfix
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In the current authentication system, after the access token is deleted (which happens after 15 minutes), the refresh token route is called to generate a new access token, ensuring smooth and secure authentication. However, this mechanism is currently not working as expected.

Steps to Reproduce:

After 15 minutes, the access token is deleted from cookies.
The refresh route is called to generate a new access token.
The new access token is not being generated successfully.
Expected Behavior:

When the access token is deleted after the specified duration, the refresh token route should be triggered, and a new access token should be successfully generated.
File to Investigate:

The axios-client.ts file in the frontend is responsible for handling the refresh token route and its associated functionality. Please investigate this file to check for potential issues causing the failure.
Important Notes:

Do not modify the existing application behavior. The objective is to ensure the refresh functionality works as expected without altering the overall flow or other integrated modules.
Before attempting to fix the issue, make sure to fully understand the codebase to avoid unintended changes and to maintain the consistency of the application’s logic.
If you identify and resolve the issue, please submit a pull request with the changes.

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.