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 email_verified_code usage #4252

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Fix email_verified_code usage #4252

merged 1 commit into from
Dec 6, 2023

Conversation

nono
Copy link
Member

@nono nono commented Dec 5, 2023

When a Cozy instance has for authentication the combo magic link + 2FA, and its owner wants to login via the cloudery, we try to avoid a flow with two emails (one for finding the instance domain, and the other with the 6-digits code). To do that, we use an email_verified_code, and the stack needs to change its behavior on the login page when this code is present, which was not done correctly before this commit.

When a Cozy instance has for authentication the combo magic link + 2FA,
and its owner wants to login via the cloudery, we try to avoid a flow
with two emails (one for finding the instance domain, and the other with
the 6-digits code). To do that, we use an email_verified_code, and the
stack needs to change its behavior on the login page when this code is
present, which was not done correctly before this commit.
@nono nono requested a review from a team as a code owner December 5, 2023 17:23
@nono nono merged commit 23f3e2d into master Dec 6, 2023
7 checks passed
@nono nono deleted the fix-email-verified-code branch December 6, 2023 11:15
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