Skip to content

Comments

Fix bug preventing logout from virtual studio mode#1371

Merged
mikedickey merged 1 commit intodevfrom
bugfix/vs-logout
Jan 16, 2025
Merged

Fix bug preventing logout from virtual studio mode#1371
mikedickey merged 1 commit intodevfrom
bugfix/vs-logout

Conversation

@mikedickey
Copy link
Collaborator

It actually was logging out by clearing the access token, but we were failing to also clear the new refresh token. So it would just immediately trigger the cycle to use the refresh token to get a new access token, effectively logging in again right away.

Clearing the refresh token on logout fixes the problem, but also best to stop the refresh timer (it will get started again after successful login).

Also bumping version and changelog for beta2 release

It actually was logging out by clearing the access token, but we
were failing to also clear the new refresh token. So it would just
immediately trigger the cycle to use the refresh token to get a
new access token, effectively logging in again right away.

Clearing the refresh token on logout fixes the problem, but also
best to stop the refresh timer (it will get started again after
successful login).

Also bumping version and changelog for beta2 release
@mikedickey mikedickey merged commit 38e72d0 into dev Jan 16, 2025
20 checks passed
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