marcospereirampj / python-keycloak

MIT License
722 stars 301 forks source link

KeycloakAdmin user_realm_name is misleading. #497

Open seri114 opened 11 months ago

seri114 commented 11 months ago

If I have separate realms for admin and user management, it would be very useful to specify the admin realm (e.g. master) in user_realm_name and the realm that holds user information (e.g. user_realm) in realm_name. However, it is difficult to see that from the documentation.

It is best to change the argument names, but it may be better to change the documentation since it affects compatibility.

for example: user_realm_name – Specifies the realm for the administrator, if different from realm_name

Similar opinions here. https://stackoverflow.com/questions/72200654/how-to-get-client-secret-in-keycloak-with-admin-user-in-different-realm-using-py

bspeagle commented 11 months ago

This ^^ fo sho