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
- 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 polls URLconf 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
ob_dj_otp-0.0.2-py3.9.egg
(23.6 kB
view details)
File details
Details for the file ob_dj_otp-0.0.2-py3.9.egg
.
File metadata
- Download URL: ob_dj_otp-0.0.2-py3.9.egg
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a179a55fdc0192b36630fd01ac9bbfcdf49c75f4ace345e8d6885da572b3b4 |
|
MD5 | 4b1e565053d8dfca04585d97bc5445ff |
|
BLAKE2b-256 | 2e23ded7a3c641d9570b97320a83ebf48780600656a5728dfd74e1efa164651b |