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.5.tar.gz
(13.6 kB
view hashes)
Built Distribution
ob_dj_otp-0.0.5-py3-none-any.whl
(25.0 kB
view hashes)
Close
Hashes for ob_dj_otp-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 414520ce0ba7a645b51aaf3aef5a5ba69c3b475e539b20638c454107eac9c453 |
|
MD5 | f0ed572c943ad60386e6ea4effc6a326 |
|
BLAKE2b-256 | bca67ecbbb6283c25519b0562e576c15979fa9e53019e3a0b1407e79a6cab54b |