diff --git a/alfa-client/apps/alfa-e2e/Jenkinsfile b/alfa-client/apps/alfa-e2e/Jenkinsfile index 906adbe4de50ee5216a8b908af46f6cf40b27a54..05098bc162d6dc85dea6ed29bf72c71bdfd75616 100644 --- a/alfa-client/apps/alfa-e2e/Jenkinsfile +++ b/alfa-client/apps/alfa-e2e/Jenkinsfile @@ -759,8 +759,12 @@ Map createUserFromFixture(Map userFixture) { String getKeycloakAccessToken(String realm) { def userManagerApiUserCredentials = getUserManagerApiUserCredentials(realm) + echo "Keycloak ApiUser Credentials: " + userManagerApiUserCredentials + def token = readJSON text: sh (script: "set +x && curl -d \"client_id=admin-cli\" -d \"username=${userManagerApiUserCredentials.user}\" -d \"password=${userManagerApiUserCredentials.password}\" -d \"grant_type=password\" https://$SSO_URL/realms/$realm/protocol/openid-connect/token", returnStdout: true) + echo "Keycloak Access Token: " + token + return token.access_token }