|
|
@ -40,7 +40,7 @@ const configEnvVars = { |
|
|
"name": "testDuration", |
|
|
"name": "testDuration", |
|
|
"type": "string", |
|
|
"type": "string", |
|
|
"mandatory": false, |
|
|
"mandatory": false, |
|
|
"default": "5m" |
|
|
"default": "10m" |
|
|
}, |
|
|
}, |
|
|
"RAMPUP_DURATION": { |
|
|
"RAMPUP_DURATION": { |
|
|
"name": "rampupDuration", |
|
|
"name": "rampupDuration", |
|
|
@ -244,7 +244,7 @@ export const Keycloak = class { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
let scopes = [ "openid" ]; |
|
|
let scopes = [ "openid" ]; |
|
|
if (this.params.offlineTokens == "true") { |
|
|
if (this.params.offlineTokens) { |
|
|
scopes.push("offline_access"); |
|
|
scopes.push("offline_access"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -316,7 +316,7 @@ export const Keycloak = class { |
|
|
headlessLogin(realm, client, user, check) { |
|
|
headlessLogin(realm, client, user, check) { |
|
|
let endpoints = this.endpoints(realm); |
|
|
let endpoints = this.endpoints(realm); |
|
|
let scopes = [ "openid" ]; |
|
|
let scopes = [ "openid" ]; |
|
|
if (this.params.offlineTokens == "true") { |
|
|
if (this.params.offlineTokens) { |
|
|
scopes.push("offline_access"); |
|
|
scopes.push("offline_access"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|