Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): retry auth requests, and schedule next refresh retry in background #395

Merged
merged 10 commits into from
May 22, 2024

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented May 21, 2024

What kind of change does this PR introduce?

Fix #77

What is the new behavior?

  • Use RetryRequestInterceptor for retrying requests in Auth
  • Schedule a task to refresh the token right before it expires (90% of the expiration date)

Additional context

#353

@grdsdev grdsdev self-assigned this May 21, 2024
@grdsdev grdsdev merged commit 35ac278 into main May 22, 2024
9 checks passed
@grdsdev grdsdev deleted the auto-refresh-token branch May 22, 2024 08:21
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.

Auth session doesn't refresh when using database
2 participants