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 (rust crypto): Adjust login procedures to account for rust crypto behaviour. #2603

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

toger5
Copy link
Contributor

@toger5 toger5 commented Sep 2, 2024

  • If we have an invalid access token return null so that we get prompted with the registration (create call without being authenticated) view.
  • logout the guest user, before we try to login (interactive login with username and pwd)
  • clear (and await) the rust crypto store before we initialize it in case we do not want to restore a localstore session.

Copy link
Contributor

@fkwp fkwp left a comment

Choose a reason for hiding this comment

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

lgtm

Fix clearing storage before logging in a new account.
@toger5
Copy link
Contributor Author

toger5 commented Sep 2, 2024

We will merge this without meeting the coverage requirements since our time can be used for more useful tests.

@toger5 toger5 merged commit 0402887 into livekit Sep 2, 2024
4 of 5 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