Skip to main content

simple_module_keycloak

Keycloak OIDC authentication provider for simple_module. Swap with simple_module_users for Keycloak-backed identity management — users, roles, and login all handled by Keycloak.

Install

Add to your app's pyproject.toml dependencies instead of simple_module_users:

dependencies = [
    "simple_module_keycloak==0.0.17",
]

Run uv sync --all-packages to install.

Usage

Set the required environment variables (or configure via the settings admin UI after first boot):

SM_KEYCLOAK_SERVER_URL=https://keycloak.example.com
SM_KEYCLOAK_REALM=my-realm
SM_KEYCLOAK_CLIENT_ID=my-app
SM_KEYCLOAK_CLIENT_SECRET=my-secret

The module auto-registers as the auth provider. Browser users are redirected to Keycloak's hosted login page. Mobile clients authenticate directly with Keycloak and send bearer tokens to the framework API.

Keycloak realm roles are mapped to framework permissions via the role_mapping setting (default: admin and user map 1:1).

Metadata

Release files for simple-module-keycloak 0.0.49

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

Source distribution (sdist)

Source distribution for simple-module-keycloak 0.0.49
File Size Uploaded Provenance Actions
simple_module_keycloak-0.0.49.tar.gz 34.9 kB With provenance Details for simple_module_keycloak-0.0.49.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-module-keycloak 0.0.49
File Interpreter ABI Platform Actions
simple_module_keycloak-0.0.49-py3-none-any.whl Python 3 none any Details for simple_module_keycloak-0.0.49-py3-none-any.whl

Total release size: 56.3 kB

Release files / simple_module_keycloak-0.0.49.tar.gz

Download URL simple_module_keycloak-0.0.49.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5c60f05f76518b41315b4f97bc51e114ee345b3c971bcef7fd4dc7121d2d873f
BLAKE2b-256 checksum
How to use checksums
ad4d78bae2eb988c6f1006d8a921bf8df82fe2bbb1b0a3cb258b45e30ff56bce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Release files / simple_module_keycloak-0.0.49-py3-none-any.whl

Download URL simple_module_keycloak-0.0.49-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47b964f227f9fef41900cb9e0d5c29b3765e4b567e6d79d7d3c05e557e206816
BLAKE2b-256 checksum
How to use checksums
91328a1da22292e5d93c340b147b389dbc0e30e3e7f6930b0ffd5e60eaf88178
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Security for simple-module-keycloak 0.0.49

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for simple_module_keycloak-0.0.49.tar.gz

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 Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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