code-specialist / fastapi-keycloak

Keycloak integration for Python FastAPI
https://fastapi-keycloak.code-specialist.com/
Apache License 2.0
192 stars 49 forks source link

Support other OAuth2 auth schemes than `OAuth2PasswordBearer` #63

Open JonasScholl opened 2 years ago

JonasScholl commented 2 years ago

Right now we are only allowing OAuth2PasswordBearer. Maybe we want to be a little bit more flexible there and use the base class of OAuth2PasswordBearer (which is OAuth2 I think...)

Originally posted by @DaGuich in https://github.com/code-specialist/fastapi-keycloak/issues/59#issuecomment-1186877886