python-keycloak icon indicating copy to clipboard operation
python-keycloak copied to clipboard

Results 191 python-keycloak issues
Sort by recently updated
recently updated
newest added

keycloak_connection = KeycloakOpenIDConnection('{CONN_URL}', username='{ADMIN_ID}', password='{ADMIN_PW}', realm_name='test', user_realm_name='master', verify=True ) client_uuid = keycloak_admin.get_client_id('{CLIENT_NAME}') scopes = keycloak_admin.get_client_authz_scopes(client_uuid) permissions = keycloak_admin.get_client_authz_permissions(client_uuid) scope_permissions = keycloak_admin.get_client_authz_scope_permission(client_uuid, scopes[0]['id']) Raise exception "404: b''".

I am trying to setup fine grained permissions for authorization in my client. I am not sure if I am doing things right in here - or in the python...

https://github.com/marcospereirampj/python-keycloak/blob/9af82647ee9d940d3951de241f36ecdbbbfda93a/src/keycloak/keycloak_admin.py#L786 inline document says it return UserRepresentation dict, but the code infact return user_id str.

python-keycloak==0.24.0 from keycloak import KeycloakOpenID keycloak_openid = KeycloakOpenID(server_url=server_url, client_id=client_id, realm_name=realm_name) The previous configuration used to work in **RedHat keycloak 9.0.17**. However, I had to migrate to **RedHat Keycloak 18.0.3** and...

keycloak==3.1.3 python-keycloak==2.9.0 `from keycloak import KeycloakAdmin` This gives me the following error: > ImportError: cannot import name 'KeycloakAdmin' from 'keycloak' (/usr/local/lib/python3.9/site-packages/keycloak/__init__.py)

In key of using 'openid-connect/token' resource of a realm Keycloak requires client_id/client_secret combination in a request's body. Here, in the method `echange_token` of the lib following code: > payload =...

Below is my requirement, 1) API to create a user and send a verify email to confirm their account. 2) API to send password reset link. With my current understanding...

hi, Is it possible to have an api to change the subject of execute action emails send from keycloak,like `keycloak_admin.execute_actions.execute_action(user_id_keycloak, "VERIFY_EMAIL", subject="Verify Email")` This api will be so helpful.

Hi all, I notice that exceptions.py not handling password policy exceptions. For example, when I set policy to have "At least on uppercase" char in password and call keycloak_admin.set_user_password(...) method...