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

call otp_login on registering passkey #51

Open
AlmerCarbonEquity opened this issue Jan 7, 2025 · 0 comments
Open

call otp_login on registering passkey #51

AlmerCarbonEquity opened this issue Jan 7, 2025 · 0 comments

Comments

@AlmerCarbonEquity
Copy link

AlmerCarbonEquity commented Jan 7, 2025

I believe otp_login should be called when a passkey is added so that the user is thereafter authenticated with 2fa, just like how it is called on login. This is also how other packages like django-two-factor-auth do it. Otherwise we have to wait for a user to logout and then login again (with their passkey!) before they can see certain content.

@AlmerCarbonEquity AlmerCarbonEquity changed the title call otp_login on setup call otp_login on registering passkey Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant