Skip to content

Feature: Enable Whatsapp as a method #678

@ryaustin

Description

@ryaustin

This feature allows offering WhatsApp as aa valid method in the package for users to choose from. WhatsApp is more secure than SMS.

Expected Behavior

If the Django project implements the Twilio gateway for SMS it can also quite easily offer WhatsApp through Twillio. This feature will work exactly the SMS feature.

Current Behavior

The difference from the current behavior is that users will now be able to select WhatsApp in addition to SMS or Call.

Possible Solution

Implement the new method by simply duplicating the SMS pattern and adjusting for whatsapp accordingly.

Steps to Reproduce (for bugs)

  1. N/A

Context

WhatsApp is an excellent source of 2FA particularly in developing nations where phone service and reliable SMS can be an issue. WhatsApp is secure and fast and improves the user experience since the message comes to the user as opposed to having to pull up an authenticator app.

Your Environment

  • Browser and version: Chrome
  • Python version: 3.11
  • Django version: 4.1
  • django-otp version: 1.1.3
  • django-two-factor-auth version: 1.15.5
  • Link to your project: n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions