From 55a712f406d4ad57e5e88dbb500a7afd487a031b Mon Sep 17 00:00:00 2001 From: thomassuedbroecker Date: Fri, 2 Oct 2020 14:13:13 +0200 Subject: [PATCH] update security add log to main.js --- security/web-app/src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/security/web-app/src/main.js b/security/web-app/src/main.js index 43bf00d..09ffd19 100755 --- a/security/web-app/src/main.js +++ b/security/web-app/src/main.js @@ -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);