A Django app for HelseID authentication.
Project description
django-helseid
Django application for authenticating users with HelseID
Installation
⚠️ WARNING: This project is currently under development and is NOT production-ready. It is intended for demonstration and testing purposes only. Do not use in a production environment without thorough security review and further development. ⚠️
-
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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.1.tar.gz.
File metadata
- Download URL: django_helseid-1.0.1.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dbb1662e76258e515bdbe56746165487941cd885a01c11050f10243ab88b3bb
|
|
| MD5 |
cc61d75dc02f5177466c64c4fc353369
|
|
| BLAKE2b-256 |
5538783067d5a8c80d5374aea4a2697d5f0dbdac64f78a606993c20a4e796c6e
|
File details
Details for the file django_helseid-1.0.1-py3-none-any.whl.
File metadata
- Download URL: django_helseid-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.8 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 |
555eb069cce828f52e20dee7130b784dcd896abd5c2cc192da80ffae4b7b9e6f
|
|
| MD5 |
4bcfb5f77dbbe38369c3770942b31b3b
|
|
| BLAKE2b-256 |
ebf9cc94e00a870c9418ef47d123800ea214c7e4181e1b40ff08c547cca9cdf5
|