How to make 2 way access verification in django?

I would like to improve security for access, making a 2 way access verification using a code to send to whatsapp or by using a qrcode. Is there any program or library with such a function?

Answers: 1

Answered by André Henrique Mendes, Sept. 17, 2021, 2:38 a.m.

I know Django Two-Factor Authentication, it allow users to authenticate through call, text messages (SMS) or by using a token generator app like Google Authenticator.

I don't know any library that allow whatsapp code, but you can use Django-two-factor-authenticate to generate the code, and use another library to send this code to WhatsApp.