-
Notifications
You must be signed in to change notification settings - Fork 1
One Time Password/Token Generation and Validation #22
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
Comments
Thank you selwin for sharing your idea! We have a lot of them so please be patient. You can see the current queue here. Community instructionsFor commenters, please use the emoji reactions on the issue to express support, and/or concern easily. Please use the comments to ask questions or contribute knowledge about the idea. It is unhelpful to post comments of "I'd love this" or "What's the state of this?" Reaction Guide
|
I'd rather implement WebAuthn but I also wouldn't say no to this. |
WebAuthn requires javascript so otp would be nice as a simple way to not require javascript. The otp algoritm is pretty simple to implement without dependencies. https://en.wikipedia.org/wiki/Time-based_one-time_password |
Sorry, I didn't mean to sound like I was not in favour at all if we had WebAuthn, I definitely want both. It was more a preference of what I'd rather be using. I do think we should want both, even if WebAuthn requires another dependency. |
While low dependency count is good for lots of reasons I'd personally lean more toward using something like https://github.com/pyauth/pyotp (as an optional dependency perhaps) rather than re-inventing the wheel here. (pun intended hehehe) |
Code of Conduct
Feature Description
A built in way for Django to generate and validate one time tokens.
Problem
Many web apps use single-use codes for:
Despite being a common requirement, Django currently lacks a built-in, standardized mechanism for generating and validating one-time passwords (OTPs).
Request or proposal
proposal
Additional Details
No response
Implementation Suggestions
Proposed APIs (obviously I'm still open to suggestions):
The text was updated successfully, but these errors were encountered: