Django SSO App
Django user profiles management app
Documentation
The full documentation is at https://django-sso-app.readthedocs.io.
Quickstart
Install Django SSO App:
pip install django-sso-app
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django.contrib.sites',
'rest_framework',
'rest_framework.authtoken',
'django_sso_app',
'allauth',
'allauth.account',
'allauth.socialaccount',
'django_countries',
'django_filters',
'treebeard',
...
)
Setup settings.py:
MIDDLEWARE = [
...
'django.contrib.auth.middleware.AuthenticationMiddleware', # required by django-sso-app
'django_sso_app.core.authentication.middleware.DjangoSsoAppAuthenticationMiddleware', # django-sso-app
...
]
...
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
SITE_ID = 1
Add Django SSO App’s URL patterns:
from django.utils import timezone
from django.views.i18n import JavaScriptCatalog
from django.views.decorators.http import last_modified
from django_sso_app.urls import (urlpatterns as django_sso_app__urlpatterns,
api_urlpatterns as django_sso_app__api_urlpatterns,
i18n_urlpatterns as django_sso_app_i18n_urlpatterns)
last_modified_date = timezone.now()
js_info_dict = {}
urlpatterns = [
...
url(r'^jsi18n/$', last_modified(lambda req, **kw: last_modified_date)(JavaScriptCatalog.as_view()), js_info_dict,
name='javascript-catalog'),
...
]
urlpatterns += django_sso_app__urlpatterns
urlpatterns += django_sso_app__api_urlpatterns
urlpatterns += django_sso_app_i18n_urlpatterns
Features
TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Development commands
pip install -r requirements_dev.txt invoke -l
Credits
Tools used in rendering this package:
History
0.12.0 (2021-10-11)
Minor release on PyPI.
Metadata
Release files for django-sso-app 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-sso-app-0.12.0.tar.gz | 162.8 kB | Without provenance | Details for django-sso-app-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_sso_app-0.12.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for django_sso_app-0.12.0-py2.py3-none-any.whl |
Total release size: 363.4 kB
Release files / django-sso-app-0.12.0.tar.gz
| Download URL | django-sso-app-0.12.0.tar.gz |
|---|---|
| Size | 162.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84f443b8eb3b25c023c9a38dfe1140f2c17cd3622d9c630e469f7ed907ede765
|
|
BLAKE2b-256 checksum How to use checksums |
0c25027edb27cba2d3d9cb8839e25fecb0c94078f0089b98db188044b197119d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.6
|
Release files / django_sso_app-0.12.0-py2.py3-none-any.whl
| Download URL | django_sso_app-0.12.0-py2.py3-none-any.whl |
|---|---|
| Size | 200.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
646505688ea373fc8b40f6b359453c00594415da41b194d7abbc3d8304de2e42
|
|
BLAKE2b-256 checksum How to use checksums |
cb418ff2e3b1f1e6bad70779caa60d3ac7dc5afcc3252e06eea6bbae4986a9e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.6
|
Security for django-sso-app 0.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.