OBytes django application for managing OTP (OneTruePairing) for authentication, registration and changing phone number.
Project description
OBytes Django OTP App
OTP is a Django app to conduct Web-based one true pairing, for authentication, registration and changing phone number.
Quick start
-
Install
ob_dj_otp
latest versionpip install ob_dj_otp
-
Add "ob_dj_otp" to your
INSTALLED_APPS
setting like this:
# settings.py
INSTALLED_APPS = [
...
"ob_dj_otp",
]
# Setting Twilio as SMS Provider
OTP_PROVIDER = os.environ.get("OTP_PROVIDER", "twilio")
# Passing Twilio Verify Service-ID
OTP_TWILIO_SERVICE = os.environ.get("OTP_PROVIDER")
- Include the OTP URLs in your project urls.py like this::
path("otp/", include("ob_dj_otp.apis.otp.urls")),
- Run
python manage.py migrate
to create the otp models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ob-dj-otp-0.0.6.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for ob_dj_otp-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538a9866821cd863a841b06a8fda333e398974a0e73c060e1753cd9b320ea61e |
|
MD5 | 7bfa8ee02b24e186474b195bc710a362 |
|
BLAKE2b-256 | 7efee126516017bd1b8aa9b64dcfb83b46c5219e3a11695ce64b768c0aa38fea |