DEV Community

Discussion on: Web Authencation API and Django

Collapse
 
sirneij profile image
John Owolabi Idogun

Hello, this is a very good project. However, I tried incorporating it into my django app but nothing like fingerprint showed up. In my app, I need to register users using fingerprint. I only need the user's username and display name, no password. On clicking on the register button, a fingerprint prompt should show up and subsequently authenticated. Having registered, users should be able to login using their username and fingerprint. Your app doesn't include this functionality?

Collapse
 
mkalioby profile image
Mohamed M El-Kalioby

This is can be done as follow:
After the user fill the registration form, then login him in, then take him to the same page as fido2 registration to follow the procedure, you can save the base_usernmae cookie to make him login quickly next time.

We are doing something similar by using google login form idea, where the user enters the username and if there is a 2FA, get directly to it without entering password.