Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Fixes #2933 Avoid saving FXA login sessions#3190

Merged
bluemarvin merged 1 commit intomasterfrom
v10/fxa_restored_login_fix
Apr 20, 2020
Merged

Fixes #2933 Avoid saving FXA login sessions#3190
bluemarvin merged 1 commit intomasterfrom
v10/fxa_restored_login_fix

Conversation

@keianhzo
Copy link
Copy Markdown
Contributor

@keianhzo keianhzo commented Apr 20, 2020

Fixes #2933 Avoid saving FXA login sessions.

We weren't handling the finishAuthenticationAsync result where FxA notifies of this error. At that point the only thing that we can do is to deny the request load (if we allow it shows the success page) and notify the user. It doesn't look good to show an alert and leave the user with a loading login page so as a workaround we just avoid restoring FxA oauth flow sessions.

Ideally we should get a redirect to an error page but we get a redirect to the success page even in the case where finishAuthenticationAsync fails, I've notified the FxA team about that.

@keianhzo keianhzo self-assigned this Apr 20, 2020
@keianhzo keianhzo requested a review from bluemarvin April 20, 2020 11:28
@keianhzo keianhzo added this to the #10 features milestone Apr 20, 2020
@bluemarvin bluemarvin merged commit d9a7eec into master Apr 20, 2020
@bluemarvin bluemarvin deleted the v10/fxa_restored_login_fix branch April 20, 2020 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The FxA account is not connected if previously the email was added then quitting the app and entering the password after resume

2 participants