Open denniscalazans opened 2 weeks ago
Hello @denniscalazans ,
I am not seeing the error you mentioned when I use auth0-spa-js@2.1.3
along with angular@17.3.0
. Can you share your package.json
here ?
Additionally, could you provide a code snippet demonstrating how you are using auth0-spa-js@2.1.3
?. This would be helpful.
I'm having the same problem. We've implemented our own ICache, and configured that in Auth0.config.cache. That seems to cause it, reverting back and using the default 'memory' or 'localstorage' option does not cause this error to occur.
I've set "noImplicitReturns": false in our own tsconfig.json to fix this but that is less than ideal
Checklist
Description
private async getCacheKeys(): Promise<string[] | undefined> { if (this.keyManifest) { return (await this.keyManifest.get())?.keys; } else if (this.cache.allKeys) { return this.cache.allKeys(); } }
Reproduction
Install Auth0 library
npm i --save @auth0/auth0-spa-js
Make use of it
npm run build the angular project
Additional context
No response
auth0-spa-js version
2.1.3
Which framework are you using (React, Angular, Vue...)?
Angular
Framework version
17
Which browsers have you tested in?
Other