Repository navigation
Access Profile Metadata via Java Keycloak Admin Client #37886
Replies: 1 comment
|
Just found out that the Java Admin Client actually supprts the user profile config:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to access the realm level attributes for user profiles via the Java Keycloak Admin Client?
The only API I see is this:
realm.getUsers().getFirst().getUserProfileMetadata()as well as
realm.getUsers().getFirst().setUserProfileMetadata()But as far as I know, the user profile attributes are defined on the realm level, not on a per user basis.
And second question, can I modify the user attributes on the realm via the Java Keycloak Admin Client?
I know that I can use the REST API (
/admin/realms/{realm}/users/profile/metadata) but it seems to me that the Java Keycloak Admin Client does not support that usecase right now, correct?All reactions