Cf https://blog.oauth.io/introduction-oauth2-flow-diagrams/ this type of grant type is possible. It is managed by Keycloak, but not yet in python-keycloak-client