Skip to main content

Optional OIDC SSO provider plugin for django-lux.

Project description

django-lux-sso

Optional OIDC provider plugin for django-lux.

This package is intentionally separate from core django-lux. Install it only in the Dlux deployment that should act as the identity provider.

Connected projects can be written in any stack that supports OpenID Connect Authorization Code flow. The Django client package is only a convenience SDK for Django projects; PHP, .NET, JavaScript, Java, Go, mobile, and desktop clients should use their standard OIDC libraries.

from dlux_sso.settings import dlux_sso_settings

dlux_sso_settings(globals())

Then mount the provider URLs explicitly:

from django.urls import include, path

urlpatterns = [
    path("", include("dlux.urls")),
    path("", include("dlux_sso.urls")),
]

Generic OIDC clients should prefer provider discovery:

https://sso.example.com/o/.well-known/openid-configuration/

The portable role claim is dlux_sso_role, with one of admin, staff, or user.

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

django_lux_sso-0.1.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_lux_sso-0.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file django_lux_sso-0.1.1.tar.gz.

File metadata

  • Download URL: django_lux_sso-0.1.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_lux_sso-0.1.1.tar.gz
Algorithm Hash digest
SHA256 939fb1259fac6b4dd74454585848c8f5130b9c18fe26288499b16ede7ce43743
MD5 13c9acfc47dc42d2fe588ca3e9c2a980
BLAKE2b-256 8cc54b00f907f0f81d6f388b9685a6644d2139b9727765b08a349cf98e156b87

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_lux_sso-0.1.1.tar.gz:

Publisher: release-sso.yml on debeski/django-lux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_lux_sso-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: django_lux_sso-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_lux_sso-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd9894cdc9e5bd1bb96360e630252e80c88c726bced6f4d76aae6f17e758194
MD5 3cb4820bf055f76a70f46f905eed086c
BLAKE2b-256 64f6376eb699c2678b003badeabeb4bf3097e5b9d6c4296b501158e18473c3d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_lux_sso-0.1.1-py3-none-any.whl:

Publisher: release-sso.yml on debeski/django-lux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page