Lightweight Django OIDC client SDK for Dlux SSO providers.
Project description
django-lux-sso-client
Lightweight Django OIDC client SDK for projects that authenticate against a
Dlux SSO provider. This package does not depend on django-lux.
This SDK is optional and Django-specific. Non-Django projects should connect to
the Dlux SSO provider with their platform's normal OIDC client library and
read the portable dlux_sso_role claim.
from dlux_sso_client.settings import configure_dlux_sso
configure_dlux_sso(
globals(),
issuer_url="https://sso.example.com",
client_id="client-id",
client_secret="client-secret",
role_mapping={
"staff_roles": ["admin", "staff"],
"groups": {"admin": ["Project Admins"], "staff": ["Project Staff"]},
},
)
Mount the OIDC client routes:
from django.urls import include, path
urlpatterns = [
path("accounts/sso/", include("dlux_sso_client.urls")),
]
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
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_lux_sso_client-0.1.1.tar.gz.
File metadata
- Download URL: django_lux_sso_client-0.1.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fe6d7bb77b2614a4b73d3a5a67b78f6a24a0fc78529f42d14662e151cd156ca
|
|
| MD5 |
e26354563b6f803380f93134a6f98183
|
|
| BLAKE2b-256 |
5d186bf4441f32862f3de571cc759faa1eda475cc9cae5a01bcd6dd729504a3c
|
Provenance
The following attestation bundles were made for django_lux_sso_client-0.1.1.tar.gz:
Publisher:
release-sso-client.yml on debeski/django-lux
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_lux_sso_client-0.1.1.tar.gz -
Subject digest:
8fe6d7bb77b2614a4b73d3a5a67b78f6a24a0fc78529f42d14662e151cd156ca - Sigstore transparency entry: 1802571177
- Sigstore integration time:
-
Permalink:
debeski/django-lux@293592428f18772ff012a851128c21f9553aaa21 -
Branch / Tag:
refs/tags/sso-client-v0.1.1 - Owner: https://github.com/debeski
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sso-client.yml@293592428f18772ff012a851128c21f9553aaa21 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_lux_sso_client-0.1.1-py3-none-any.whl.
File metadata
- Download URL: django_lux_sso_client-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa773622c47a25c399fc827c0b67f532e421d596924f6540d6d5607f5a424e50
|
|
| MD5 |
40ca31d55d0f470cdcd0d9fb042a1bc4
|
|
| BLAKE2b-256 |
c065cf0a0b18b8fc53eaae862f1cf172be755f8ec5fcb3eef4c3dd4e0fa86172
|
Provenance
The following attestation bundles were made for django_lux_sso_client-0.1.1-py3-none-any.whl:
Publisher:
release-sso-client.yml on debeski/django-lux
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_lux_sso_client-0.1.1-py3-none-any.whl -
Subject digest:
fa773622c47a25c399fc827c0b67f532e421d596924f6540d6d5607f5a424e50 - Sigstore transparency entry: 1802571708
- Sigstore integration time:
-
Permalink:
debeski/django-lux@293592428f18772ff012a851128c21f9553aaa21 -
Branch / Tag:
refs/tags/sso-client-v0.1.1 - Owner: https://github.com/debeski
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sso-client.yml@293592428f18772ff012a851128c21f9553aaa21 -
Trigger Event:
push
-
Statement type: