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

Explain how to do both OTP and magic link #22

Open
xixixao opened this issue Jul 8, 2024 · 0 comments
Open

Explain how to do both OTP and magic link #22

xixixao opened this issue Jul 8, 2024 · 0 comments
Labels
enhancement New feature or request major

Comments

@xixixao
Copy link
Contributor

xixixao commented Jul 8, 2024

It's complicated because magic links rely on long tokens. So security-wise the ideal approach is to generate two different codes, one for the link and one for the OTP. That's not super easy to do atm, might be simpler to use a custom ConvexCredentials provider.

@xixixao xixixao added enhancement New feature or request major labels Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request major
Projects
None yet
Development

No branches or pull requests

1 participant