Django MitID Auth
Module for authenticating against an OpenID backend and against a MitID backend, with common middleware to intercept requests, check path against a whitelist, and delegate to configured handler.
The auth mechanism is a bit different from the standard Django auth system, in that we don't leverage the User classes, but instead write relevant data directly to the session, which also determines whether a user is logged in. This means that we don't collide with standard login mechanisms (e.g. normal django username/password), and an admin of staff user that's logged in "the normal way" can also be logged in through our session, in essence faking a citizen login.
The Saml2 code borrows heavily from https://pypi.org/project/python3-saml-django/ (MIT Licensed). It does so in order to avoid using the default django auth system.
Release files for gl-mitid 1.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gl_mitid-1.9.3.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gl_mitid-1.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.4 kB
Release files / gl_mitid-1.9.3.tar.gz
| Download URL | gl_mitid-1.9.3.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ddb36fbdaea960789ab41e57e9220e28484d511ac9f1dbafc8273cd5c31e257
|
|
BLAKE2b-256 checksum How to use checksums |
13f05950262f8ef9678a96b50320cc98a88819c95b6bb1b41510b926dea9eb99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.11.16 Linux/6.12.94+
|
Release files / gl_mitid-1.9.3-py3-none-any.whl
| Download URL | gl_mitid-1.9.3-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
211c0219e55725a2b152b06220cf2907205b5909fb9dfc178aad7e072419dabe
|
|
BLAKE2b-256 checksum How to use checksums |
340163c9f727ad4a455a56b2e7a78c4a547098a4bea57830d7728e244a7bd80e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.11.16 Linux/6.12.94+
|