Keycloak: new 24 install break laboite
Problem
When installing a new infrastructure with version 24.0.5-eole3.18
, the admapi
user can't connect which break laboite
functions:
curl --silent --show-error -d "client_id=admin-cli" -d "username=${ADMIN_API_USER}" -d "password=${ADMIN_API_PASSWORD}" -d "grant_type=password" "${KEYCLOAK_URL}/auth/realms/${REALM}/protocol/openid-connect/token" | jq
{
"error": "invalid_grant",
"error_description": "Account is not fully set up"
}
This problem is not present when migrating a 22.0.5-eole3.12
to 24.0.5-eole3.18
.
Proposal
We should add missing attributes email
, firstName
and lastName
to solve the issue.
Edited by Daniel Dehennin