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 Distribution
ob-dj-otp-0.0.3.tar.gz
(13.8 kB
view details)
Built Distribution
ob_dj_otp-0.0.3-py3-none-any.whl
(25.0 kB
view details)
File details
Details for the file ob-dj-otp-0.0.3.tar.gz
.
File metadata
- Download URL: ob-dj-otp-0.0.3.tar.gz
- Upload date:
- Size: 13.8 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 | 0bbe350677ea6c7a3b907957916676ede195e0d72fcc147e26a0950c151947d1 |
|
MD5 | 090f781fb17c0429d587a19dadf0b9c3 |
|
BLAKE2b-256 | e8e25e8f7245f8a6861c1d08e13554f49e5af09bcbc7d2eaa3b1f8876b38f335 |
File details
Details for the file ob_dj_otp-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ob_dj_otp-0.0.3-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- 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.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56daf3132c0367cf8e37673263a7830e6ee47f1c242c1007f804f7596e73cb37 |
|
MD5 | b55c6d122c1037b6399833d4c1d3de98 |
|
BLAKE2b-256 | 45f941c9dfd0d452251c678915c3bec67bc38b74bbcfd86bad6fada99033f0a2 |