This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Description
I am looking for a multi-tenant-based solution, where the customer maintains different realms for different vendors. How could we manage the FastAPIKeycloak() creation and .get_current_user() authentication/authorisation?
Based on the URL I am figuring out the tenant and getting the relevant Database details, but now confused about how we could use the
below OIDCUser in the Endpoint definition.
user: OIDCUser = Depends(keycloak_obj.get_current_user())
@yannicschroeer