Commit 7682749c authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

fix OIDC token expiration issue

when the app is mounted we cannot log to the vue logger yet
this throws an error before the signOut method is called

now fixed by using console.log only in debug environments
parent 4bea4832
......@@ -99,7 +99,12 @@ export default {
}) () {
// at this point where the app is just mounted, we cannot use the
// vue logger, because this.$log does not yet exist. therefore we log
// to the console, but only if the environment is set tu debug log level
if (process.env.VUE_APP_LOGLEVEL === 'debug') {
console.log("Debug info: OIDC token has expired. Logging out.")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment