From 8a022da30dd8d46f22f4fcb65e64cc64207ccf79 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 23 Jan 2020 10:36:58 +0100 Subject: [PATCH] KEYCLOAK-10303 configure JS Adapter to use PKCE --- themes/src/main/resources/theme/base/admin/resources/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/src/main/resources/theme/base/admin/resources/js/app.js b/themes/src/main/resources/theme/base/admin/resources/js/app.js index 405a70b469..eab16462ca 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/app.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/app.js @@ -58,7 +58,7 @@ angular.element(document).ready(function () { location.reload(); } - keycloakAuth.init({ onLoad: 'login-required' }).success(function () { + keycloakAuth.init({ onLoad: 'login-required', pkceMethod: 'S256' }).success(function () { auth.authz = keycloakAuth; if (auth.authz.idTokenParsed.locale) {