Skip to main content

Deepera Authentication System

Project description

To use captcha, install the following packages:

sudo apt install libz-dev libjpeg-dev libfreetype6-dev python-dev

To install, add deepauth and captcha to INSTALLED_APPS in your Django settings.

Compulsory configurations:

AUTH_USER_MODEL = 'deepauth.Account'
DEEPAUTH_EMAIL_CONF = {
    'required': True,
    'server': 'smtp.example.com',
    'port': 465,
    'username': 'noreply@example.com',
    'password': 'moc.elpmaxe',
    'subject': 'Activate Your Account',
    'content': 'Dear {0},\nPlease verify your account by clicking the following link:\n{1}\nYours sincerely,\nExample.com',
}

Optional configurations:

DEEPAUTH_INVITATION_ONLY = False
# Invatitation code must be provided if set to true.

DEEPAUTH_AUTO_LOGIN = False
# User will be logged in after certain actions (currently only work for updating email).

TOKEN_LIFETIME = 7
# Token will be expired after certain days.

To enable access, add the following URLs to your URL patterns:

url(r'^auth/', include('deepauth.urls')),
url(r'^captcha/', include('captcha.urls'))

To show docs, add the following code to your URLs:

from rest_framework.documentation import include_docs_urls
urlpatterns = [
    url(r'^docs/', include_docs_urls('API Docs'))
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for deepauth, version 2.4.17
Filename, size File type Python version Upload date Hashes
Filename, size deepauth-2.4.17.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page