No project description provided
Project description
===== dnoticias_auth
dnoticias_auth is a Django app to make the authentication in the DNOTICIAS PLATFORMS.
Detailed documentation is in the "docs" directory.
Quick start
-
Add "dnoticias_auth" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'dnoticias_auth', ]
-
Include the polls URLconf in your project urls.py like this::
path('auth/', include('dnoticias_auth.urls')),
-
Run
python manage.py migrate
to create the polls models. -
Add the necessary settings variables
Settings variables
Setting | Default value | Description |
---|---|---|
OIDC_STORE_ACCESS_TOKEN | True | OIDC store access token in session (TRUE ONLY) |
OIDC_STORE_ID_TOKEN | True | OIDC store id token in session (TRUE ONLY) |
AUTH_COOKIE_EXPIRATION_MINUTES | 15 | Cookie expiration time |
AUTH_COOKIE_DOMAIN | dnoticias.pt | Cookie domain |
AUTH_COOKIE_SECURE | True | Secure cookie in HTTPS only |
AUTH_COOKIE_HTTPONLY | True | Prevents changes from JS |
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
Close
Hashes for django_dnoticias_auth-1.2.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04c063b80a317db6530f3ca233a1b76cc9469f711eae67362f6b7d4160b5651 |
|
MD5 | b95c4d5bb0b0f39699b053b689074b10 |
|
BLAKE2b-256 | fbdc23fdfbf048a093ee4e24eac7f4d0abd7016b38a6d8daa5dabfbe48520663 |