KEYCLOAK-10303 configure JS Adapter to use PKCE

This commit is contained in:
Erik Jan de Wit 2020-01-23 10:36:58 +01:00 committed by Stian Thorgersen
parent 2916af351a
commit 8a022da30d

View file

@ -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) {