A Django app for HelseID authentication.
Project description
django-helseid
Django application for authenticating users with HelseID
Installation
-
Install the package:
pip install django-helseid
Or locally for development:
uv pip install -e .
-
Add
helseidto yourINSTALLED_APPSinsettings.py:INSTALLED_APPS = [ ... 'helseid', ]
-
Add the authentication backend:
AUTHENTICATION_BACKENDS = [ 'django.contrib.auth.backends.ModelBackend', 'helseid.backends.HelseIDBackend', ]
-
Configure
HELSEIDsettings:HELSEID = { 'CLIENT_ID': 'your-client-id', 'CLIENT_SECRET': { ... }, # JWK dict 'SCOPE': ['openid', 'profile', ...], 'SERVER_METADATA_URL': "https://helseid-sts.test.nhn.no/.well-known/openid-configuration", }
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
django_helseid-1.0.0.tar.gz
(24.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_helseid-1.0.0.tar.gz.
File metadata
- Download URL: django_helseid-1.0.0.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d1f8007af45ad5b85b7ba491db6382877aeb192c09368550217c0dedeafff4c
|
|
| MD5 |
d2a007649974caa9e59abaa2f1bf1756
|
|
| BLAKE2b-256 |
ddfbb3a7eadee61ffc5c1b78f22179848c9f080f425583c9c8a1069b2cfcdf23
|
File details
Details for the file django_helseid-1.0.0-py3-none-any.whl.
File metadata
- Download URL: django_helseid-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20392cd5851eaa9073b808a8acd7acd74abe6850066ec6734d36f69937dd27e0
|
|
| MD5 |
7da0bee17aa7a6838abc19fc5983324d
|
|
| BLAKE2b-256 |
204ab4b187ac50505ac09646ad1a158c8628649236bc030333b044286868536d
|