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

how to assign client roles to a user #85

Closed Speccy-Rom closed 1 year ago

Speccy-Rom commented 1 year ago

I want to assign a keycloak user who already exists a client role, but according to the existing methods in your library I can only assign roles in realm (Realm Roles) How can I assign a client role to a user with your library? https://postimg.cc/G48RwMQ5 Thanks

yannicschroeer commented 1 year ago

Hello, that is currently not supported. We're open to pull requests though ✌️

Speccy-Rom commented 1 year ago

is there such a possibility at least in the keycloack api?

yannicschroeer commented 1 year ago

I have no idea what the current Keycloak API offers. Sorry.