Angular Product raises an exception on logout

This commit is contained in:
Bruno Oliveira 2016-02-22 13:28:45 -03:00 committed by Stian Thorgersen
parent d7f4277ba8
commit fac8c4a6d0

View file

@ -33,7 +33,7 @@ angular.element(document).ready(function ($http) {
keycloakAuth.init({ onLoad: 'login-required' }).success(function () {
auth.loggedIn = true;
auth.authz = keycloakAuth;
auth.logoutUrl = keycloakAuth.authServerUrl + "/realms/demo/tokens/logout?redirect_uri=/angular-product/index.html";
auth.logoutUrl = keycloakAuth.authServerUrl + "/realms/demo/protocol/openid-connect/logout?redirect_uri=/angular-product/index.html";
module.factory('Auth', function() {
return auth;
});