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

fix(auth): resolves issue with expired token not reauth'ing properly #14

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

ImDevinC
Copy link
Owner

This solves two issues:

  1. If the token expired while the plugin was already active, it never refreshed the token. We now validate the token and refresh as necessary.
  2. Due to how on_ready works, we were starting multiple threads for the viewer process. We now make sure only one thread is active.

@ImDevinC ImDevinC merged commit c2f3b42 into main Jul 11, 2024
1 check passed
@ImDevinC ImDevinC deleted the fix-reauth branch July 11, 2024 22:33
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