Comments (8)
Oddly, the error only occurs during the AutoRefresh. When calling update manually, it does not throw this error.
from aurelia-authentication.
I think that error got fixed meanwhile. It.s just not published on npm yet. You could try getting it from github directly or wait just s little until it.s published on npm
from aurelia-authentication.
@gregoryagu 3.8 is on npm now. Give it a try
from aurelia-authentication.
I updated to 3.8 using npm install.
However, I am getting an error when Aurelia initializes:
Unhandled rejection TypeError: Cannot read property 'origin' of undefined
at Object.configure (webpack-internal:///aurelia-authentication:1729:38)
function configure(frameworkConfig, config) {
if (!_aureliaPal.PLATFORM.location.origin) //Error Here
The debugger shows that PLATFORM is an object, but does not have a property called location.
from aurelia-authentication.
Have tried npm update but still same result.
from aurelia-authentication.
hmm: https://aurelia.io/docs/api/pal/interface/Platform
may there are forks? it uses aurelia-pal 1.8 to use PLATFORM.moduleName for webpack builds.
but then, PLATFORM.location had been there for some time. at a loss atm
from aurelia-authentication.
i tried again with my webpack build using chrome and edge and had no issues.
from aurelia-authentication.
Thank you. After wiping and re-installing node_modules, all good.
from aurelia-authentication.
Related Issues (20)
- Popup not closing: DOMException blocked frame due to cross-origin HOT 2
- Support for not needing new update tokens HOT 2
- Automatic logout if accesstoken expires in more than 24.85 days HOT 1
- Authentication-Change Not Firing in app.ts HOT 1
- Page not reloaded on logout in another tab HOT 7
- If I have the same app open in two different Browser, and log out in one, the other also logs out HOT 1
- Consider supporting httpOnly cookie for storing token HOT 3
- Auth0 not returning Access Token HOT 1
- baseConfig.client.client not defined after baseConfig.configure(authConfig) HOT 1
- Manually setting expired tokens ruins routing HOT 9
- storageChangedReload triggers error HOT 6
- auth0-lock v11 and responseType = 'token' HOT 1
- How Retrieve User Data From Payload?
- ReferenceError: AuthService is not defined HOT 14
- Unable to find module with ID: aurelia-authentication/authFilterValueConverter HOT 2
- unhandle exception on getting from storage
- oAuth 2 not working when inside of Facebook In App Browser HOT 1
- setTimeout(ttl) is not persistent HOT 3
- Read.me API documentation wrong HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurelia-authentication.