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.2
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.2.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gl_mitid-1.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.4 kB
Release files / gl_mitid-1.9.2.tar.gz
| Download URL | gl_mitid-1.9.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08d380cc86571210beab76b339afcd7b47d4d20a72bafec1f5209968d0a49479
|
|
BLAKE2b-256 checksum How to use checksums |
27ef5af6ab8dd87506573c3f3251502671841690da54ca5528e69a121e2c4897
|
| 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.2-py3-none-any.whl
| Download URL | gl_mitid-1.9.2-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb364a31f8c6f40d9ca6425ef1a45de4b75eb870885e77cc6c276b6b65b4d0f1
|
|
BLAKE2b-256 checksum How to use checksums |
1e03e1a4e88d576e7691ff475ecefad63541f43277ce13c329257b198e1775ee
|
| 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+
|