Skip to content

Instantly share code, notes, and snippets.

@bandrzejczak
Created February 9, 2018 22:20
Show Gist options
  • Save bandrzejczak/2de5de664dcc95007059ea210ff6cadb to your computer and use it in GitHub Desktop.
Save bandrzejczak/2de5de664dcc95007059ea210ff6cadb to your computer and use it in GitHub Desktop.
$rootScope.userLogout = function () {
$cookies.remove('X-Authorization-Token');
$interval.cancel(updateTokenInterval);
keycloak.logout();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment