Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 741 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 741 Bytes

Python Litestar and OIDC providers

This is POC to demonstrate the integration with OIDC providers like Zitadel, Keycloak, Oauth, ...etc.

Deps

  • PDM
pdm venv create
. .venv/bin/activate
pdm install

Configuration

Set your settings inside .env file.

Run

litestar run -d

How

In Litestar, auth_jwk is an implementation of AbstractSecurityConfig that use https://github.com/Neoteroi/GuardPost to get jwk from OIDC providers, manage cache, and validate jwt.

You can test it with the zitadel-app project and a zitadel instance.

remember to change the client access_token to JWT.