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: Add magiclink as authenticaiton method in mfa #967

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

Vinzent03
Copy link
Collaborator

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

The magiclink mfa type is not recognized.

What is the new behavior?

The magiclink type is properly parsed.

Additional context

I'm unsure if this is the correct way to fix this. This doesn't match with the typescript types from auth-js: https://github.com/supabase/auth-js/blob/a80f343abd133521faa07b90ccea15525b933238/src/lib/types.ts#L267 It contains mfa/totp which we aren't able to parse as well.

close #966

@Vinzent03 Vinzent03 changed the title fix: add magiclink as authenticaiton method in mfa fix: Add magiclink as authenticaiton method in mfa Jul 10, 2024
@Vinzent03 Vinzent03 requested a review from dshukertjr July 10, 2024 08:58
@dshukertjr dshukertjr merged commit 4a87177 into main Jul 10, 2024
9 of 10 checks passed
@dshukertjr dshukertjr deleted the fix/mfa-method branch July 10, 2024 09:54
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.

getAuthenticatorAssuranceLevel() throws Unhandled Exception: Bad state: No element
2 participants