Skip to content

Conversation

@Yaseern
Copy link

@Yaseern Yaseern commented Nov 30, 2023

In certain situations, the access token may expire before an API request, potentially resulting in a silent redirect.
The challenge arises when ongoing requests lack of ability to update the access token dynamically, leading to failures when interacting with the API. To address this, I've made adjustments to proactively check for token expiration. If expired, a manual silent redirect is triggered to obtain a new token, ensuring subsequent API calls use the updated access token.

To use manual trigger for silent refresh token
…st, potentially resulting in a silent redirect

In certain situations, the access token may expire before an API request, potentially resulting in a silent redirect.
The challenge arises when ongoing requests lack of ability to update the access token dynamically, leading to failures when interacting with the API. To address this, I've made adjustments to proactively check for token expiration. If expired, a manual silent redirect is triggered to obtain a new token, ensuring subsequent API calls use the updated access token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant