Created
May 8, 2019 21:32
-
-
Save edwint88/7a0ae2d578e979a1fe9f80bc743fae4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Method: POST | |
# Headers | |
# Authorization Bearer eyJhbGciO... (access token) | |
# Content-Type: application/json | |
# Body | |
# { | |
# "username": "test-user", | |
# "groups": ["Comp1"], // doesn't work, even if it is in the docs | |
# "lastName": "test", | |
# "firstName": "joe", | |
# "email": "[email protected]", | |
# "attributes": {"test": "attr"}, | |
# "id": "c946d741-b2d6-44b6-9720-943614396faa", // doesn't work | |
# "enabled": true, | |
# "credentials":[{ | |
# "type": "password", | |
# "value": "test", | |
# "temporary": false | |
# }], | |
# "realmRoles": "Tableau" // doesn't work | |
# } | |
http://127.0.0.1:8088/auth/admin/realms/app/users |
Thank you
"realmRoles": "Tableau" // doesn't work
Is there any way to update realmRoles through json file?
is this still work with keycloak version 16?
I didn't test for the newer versions (I think this was for Keycloak 9.0.0)
Lifesaver! Couldn't figure out how initial credentials were supposed to fit (i had been stuffing them into attributes
by accident).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!