Browse Source
fix: changed sync get user id to async get user in create user async function (#600)
Co-authored-by: Alex Rohozneanu <aro@bigbrother.nl>
pull/605/head
v4.6.1
alexrohozneanu
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/keycloak/keycloak_admin.py
|
|
@ -4760,7 +4760,7 @@ class KeycloakAdmin: |
|
|
|
params_path = {"realm-name": self.connection.realm_name} |
|
|
|
|
|
|
|
if exist_ok: |
|
|
|
exists = self.get_user_id(username=payload["username"]) |
|
|
|
exists = await self.a_get_user_id(username=payload["username"]) |
|
|
|
|
|
|
|
if exists is not None: |
|
|
|
return str(exists) |
|
|
|