Closed VMBindraban closed 6 years ago
i believe that might be fixed. can you update/ensure to 3.8.1
I tried updating to 3.8.1 but i got errors.
aurelia-authentication.js?cca0:1729 Uncaught (in promise) TypeError: Cannot read property 'origin' of undefined
at Object.configure (aurelia-authentication.js?cca0:1729)
at eval (aurelia-framework.js?517a:186)
function configure(frameworkConfig, config) {
if (!_aureliaPal.PLATFORM.location.origin) { // <=== here
_aureliaPal.PLATFORM.location.origin = _aureliaPal.PLATFORM.location.protocol + '//' + _aureliaPal.PLATFORM.location.hostname + (_aureliaPal.PLATFORM.location.port ? ':' + _aureliaPal.PLATFORM.location.port : '');
}
I also placed this on gitter yesterday.
Weird that location is undefined. Is this running headless by any chance?
Latest version of chrome, not headless.
I had multiple instances of aurelia-pal in my project, 1.50
and 1.80
.
Setting the version explicit to 1.80
fixes it.
When enabling
storageChangedReload
and logout in a other window/tab i am getting the following error:Which is:
Using webpack.
It works fine for login.