Skip to content

Commit

Permalink
update security add log to main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassuedbroecker committed Oct 2, 2020
1 parent 864b96f commit 55a712f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/web-app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ keycloak.init({ onLoad: initOptions.onLoad }).then((auth) => {
}
if (keycloak.token && keycloak.idToken && keycloak.token != '' && keycloak.idToken != '') {
store.commit("login", payload);
console.log("--> log: get username" + keycloak.subject);
// console.log("User has logged in: " + keycloak.subject);
// console.log("TokenParsed: "+ JSON.stringify(keycloak.tokenParsed));
// console.log("User name: " + keycloak.tokenParsed.preferred_username);
Expand Down

0 comments on commit 55a712f

Please sign in to comment.