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

Refactor OTP authentication #350

Merged
merged 3 commits into from
Nov 18, 2023
Merged

Refactor OTP authentication #350

merged 3 commits into from
Nov 18, 2023

Conversation

jan-tennert
Copy link
Collaborator

What kind of change does this PR introduce?

Feature

What is the current behavior?

You can sign in with an OTP like this:

supabase.auth.sendOtpTo(Email) {
    email = "example@email.com"
}

What is the new behavior?

You now do that with the new OTP AuthProvider:

supabase.auth.signInWith(OTP) {
    email = "example@email.com"
}

@jan-tennert jan-tennert added enhancement New feature or request auth labels Nov 17, 2023
@jan-tennert jan-tennert added this to the 2.0.0 milestone Nov 17, 2023
@jan-tennert jan-tennert self-assigned this Nov 17, 2023
@jan-tennert jan-tennert merged commit 2bac10b into development Nov 18, 2023
9 checks passed
@jan-tennert jan-tennert deleted the otp-refactor branch November 18, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant