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

Verify OTP support to hashed token #803

Closed
guilhermezdev opened this issue Jan 19, 2024 · 0 comments · Fixed by #813
Closed

Verify OTP support to hashed token #803

guilhermezdev opened this issue Jan 19, 2024 · 0 comments · Fixed by #813
Labels
auth This issue or pull request is related to authentication enhancement New feature or request

Comments

@guilhermezdev
Copy link

I'm working on a invite users flow and I'm missing the OTP verification using just the hashed token sent on the email.
The JS library has this implementation:

const { data, error } = await supabase.auth.verifyOtp({ token_hash: tokenHash, type: 'email'})

There is a reason for the dart implementation to drop this support? Also the docs for this method only mention SMS and mobile, which may be misleading.

@guilhermezdev guilhermezdev added the enhancement New feature or request label Jan 19, 2024
@dshukertjr dshukertjr added auth This issue or pull request is related to authentication enhancement New feature or request and removed enhancement New feature or request labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth This issue or pull request is related to authentication enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants