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 bfx auth token refreshing #336

Merged

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Nov 23, 2023

This PR fixes BFX auth token refreshing. The issue is the following:

  • UI has to make several sign-in requests, for HTTP and WS
  • when making second signIn request, reference to the previous setInterval for token invalidation is lost
  • when signOut and signIn into another account, the previous setInterval continued to work, which caused errors in some cases

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

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.

2 participants