No description or website provided.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
twilio.py

README.md

twilio-backend

Twilio backend for django-social-auth. Twilio backend added in django-social-auth.

  • Register a new application at Twilio Connect Api

  • fill TWILIO_CONNECT_KEY and TWILIO_AUTH_TOKEN values in the settings:

    TWILIO_CONNECT_KEY = '' TWILIO_AUTH_TOKEN = ''

  • Add desired authentication backends to Django's AUTHENTICATION_BACKENDS setting:

    'social_auth.backends.contrib.twilio.TwilioBackend',
    

Usage example

Authentication process starts with socialauth_begin URL.

Template code example:

<a href="{% url socialauth_begin 'twilio' %}">Enter using Twilio</a>