[KEYCLOAK-8849] - Fixing request entitlements call
This commit is contained in:
parent
31e8e73e48
commit
e01c9ddd60
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ public class PhotozClientAuthzTestApp extends AbstractPageWithInjectedUrl {
|
||||||
|
|
||||||
public void requestEntitlements(JavascriptStateValidator validator) {
|
public void requestEntitlements(JavascriptStateValidator validator) {
|
||||||
testExecutor.executeAsyncScript("var callback = arguments[arguments.length - 1];" +
|
testExecutor.executeAsyncScript("var callback = arguments[arguments.length - 1];" +
|
||||||
"window.authorization.entitlement('photoz-restful-api').then(function (rpt) {" +
|
"window.authorization.entitlement('photoz-restful-api', {}).then(function (rpt) {" +
|
||||||
" callback(JSON.stringify(jwt_decode(rpt), null, ' '));" +
|
" callback(JSON.stringify(jwt_decode(rpt), null, ' '));" +
|
||||||
"});", validator);
|
"});", validator);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue