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

[menu-bar] Fix account logout now clearing session #89

Merged
merged 2 commits into from Oct 23, 2023

Conversation

gabrieldonadel
Copy link
Member

Why

When logging out from an account and trying to log in again the user would be automatically redirected and wouldn't be prompted for email and password, making it impossible to log into a different account

How

Set ASWebAuthenticationSession to prefer ephemeral web browser sessions, that way the browser doesn’t share cookies or other browsing data between the authentication session and the user’s normal browser session.

Test Plan

run menu-bar locally, logout and login again

@gabrieldonadel gabrieldonadel merged commit b8f4aa4 into main Oct 23, 2023
1 check passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/fix-account-logout branch October 23, 2023 12:26
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.

None yet

1 participant