[keycloak-user] Client secret not provided in request

Charles Moulliard cmoullia at redhat.com
Wed Dec 14 02:17:54 EST 2016


Hi,

Why do I get this error when I issue tthis curl request to get a token

curl -sk -X POST
https://secure-sso-sso.e8ca.engint.openshiftapps.com/auth/realms/master/protocol/openid-connect/token
-d grant_type=password -d username=admin -d password=admin -d
client_id=demoapp

{"error_description":"Client secret not provided in
request","error":"unauthorized_client"}

Keycloak Version : 1.9.8
client_id: demoapp

Do I have to set another filed instead of username/password &
grant_type=password ?

Regards,

Charles


More information about the keycloak-user mailing list