Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

grantor-django

Sign in with Grantor from Django — an OAuth 2.1 / OpenID Connect provider.

pip install grantor-django          # session sign-in
pip install grantor-django[drf]     # + a DRF API that answers to an access token
pip install grantor-django[admin]   # + a Django admin with no local password
INSTALLED_APPS = [..., "grantor_django"]

GRANTOR_ISSUER = "https://acme.api.grantor.id"
GRANTOR_CLIENT_ID = env("GRANTOR_CLIENT_ID")
GRANTOR_CLIENT_SECRET = env("GRANTOR_CLIENT_SECRET")
GRANTOR_CALLBACK_BASE_URL = "https://app.example.com"
urlpatterns = [path("auth/", include("grantor_django.urls"))]

Every endpoint — authorization, token, JWKS, end-session — is read from the issuer's discovery document. The issuer is the only string you configure.

Documentation: docs.grantor.id. Source and security policy: Grantor-id/grantor-python.

MIT. © Allure Labs.

Release files for grantor-django 0.1.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grantor-django 0.1.0a0
File Size Uploaded
grantor_django-0.1.0a0.tar.gz 43.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grantor-django 0.1.0a0
File Interpreter ABI Platform
grantor_django-0.1.0a0-py3-none-any.whl Python 3 none any Details

Total release size: 76.4 kB

Release files / grantor_django-0.1.0a0.tar.gz

Download URL grantor_django-0.1.0a0.tar.gz
Size 43.8 kB
Tags Source
SHA-256 checksum
How to use checksums
72b2a722673f281d5cf6dcb208e4f3c2b170a21082886b705d39ddf241156be3
BLAKE2b-256 checksum
How to use checksums
df4b37fd91f93c260cfc9165686b7e4221f370ce59f07aeca57f0ff37ca9db62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / grantor_django-0.1.0a0-py3-none-any.whl

Download URL grantor_django-0.1.0a0-py3-none-any.whl
Size 32.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7912441e7c24762b0d6d8fbdd50bad6dd6e49ee5eb79a7a12098903dd60e0c28
BLAKE2b-256 checksum
How to use checksums
972509f09c9b2b07f682eddab6ea13f0235bb3331cf59b7226dcdde6d698c37b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

This release

0.1.0a0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page