Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
- ABP Framework version: v4.0.1
- UI type: Angular
- Tiered (MVC) or Identity Server Seperated (Angular): yes
- Exception message and stack trace:
error loading discovery document TypeError: Cannot read property 'length' of null at HttpHeaders.applyUpdate (http.js:235) at http.js:207 at Array.forEach () at HttpHeaders.init (http.js:207) at HttpHeaders.forEach (http.js:270) at Observable._subscribe (http.js:1589) at Observable._trySubscribe (Observable.js:42) at Observable.subscribe (Observable.js:28) at FinallyOperator.call (finalize.js:11) at Observable.subscribe (Observable.js:23) (anonymous) @ angular-oauth2-oidc.js:1330
- Steps to reproduce the issue: New Angular solution generated with seperated Identity Server with EF and SQL server. Identidy server working. API Host Swagger working and can authorise. Angular client building with no errors but cannot authenticate when browsing to http://localhost:4200/
3 Answer(s)
-
0
I got same issue yesterday and lost my day on it, just found it this morning:
https://github.com/abpframework/abp/pull/6644
-
0
Hi @christophe.baille, I got the same issue, is there any work around for this issue?
-
0
The problem has been resolved. We are going to release v4-1-rc.1 today. You can create a preview template after the new version released or apply this for workaround: https://support.abp.io/QA/Questions/678#answer-0c965758-2a20-a382-8274-39f9778d361f