[keycloak-user] authorizationServicesEnabled flag not working from CLI
Test Oauth
testoauth55 at gmail.com
Thu Aug 2 03:34:29 EDT 2018
I am using following command (on Keycloak 4.1.0):
kcreg create -s clientId=test15 -s protocol=openid-connect -s
"redirectUris=[\"*\"]" -s publicClient=false -s serviceAccountsEnabled=true
-s authorizationServicesEnabled=true
The above command successfully creates a new client and sets all the flags
mentioned in the command except for the authorization option. When I check
on keycloak web the ' Authorization Enabled ' option is still turned off.
Next, I tried to update this flag:
kcreg update test15 -s authorizationServicesEnabled=true
No error is thrown but still the ' Authorization Enabled ' option is
turned off.
Is it even possible to set this option through CLI ? (It gets enabled if
done through keycloak web)
Also , am I using the correct option? In the docs :
https://www.keycloak.org/docs-api/4.1/rest-api/index
2 flags are mentioned : authorizationServicesEnabled and
authorizationSettings.
On using the second flag I get:
Failed to set attribute 'authorizationSettings' on document type 'default'
which means that this option is not valid for this particular command.
More information about the keycloak-user
mailing list