[keycloak-dev] keycloak userinfo
nirmal a
nirmal_131 at yahoo.com
Mon Mar 19 21:31:40 EDT 2018
Is it possible to get the user details from the KEYCLOAK_IDENTITY cookie. I tried the following curl command but was getting an error.
curl -d "access_token=$KEYCLOAK_IDENTITY" -H "Content-Type: application/x-www-form-urlencoded" -X POST "http://localhost:8180/auth/realms/demo/protocol/openid-connect/userinfo"
{ "error": "invalid_token", "error_description": "Token invalid: Secret key not set"}
Is the token parameter value that is passed incorrect? If so is it possible to get the valid parameter value using the cookies KEYCLOAK_IDENTITY, KEYCLOAK_SESSION, AUTH_SESSION_ID.
More information about the keycloak-dev
mailing list