This is POC to demonstrate the integration with OIDC providers like Zitadel, Keycloak, Oauth, ...etc.
- PDM
pdm venv create
. .venv/bin/activate
pdm install
Set your settings inside .env file.
litestar run -d
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.