Skip to content
Snippets Groups Projects
Commit e5b13922 authored by OZGCloud's avatar OZGCloud
Browse files

e2e more logging

parent 113a7e9c
Branches
Tags
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment