Starts in:
2 DAYS
12 HRS
25 MIN
26 SEC
Starts in:
2 D
12 H
25 M
26 S
Open Closed

Angular SSO issue #684


User avatar
1
conor@corrit.ie created

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)
  • User Avatar
    0
    christophe.baille created

    I got same issue yesterday and lost my day on it, just found it this morning:

    https://github.com/abpframework/abp/pull/6644

  • User Avatar
    0
    nhontran created

    Hi @christophe.baille, I got the same issue, is there any work around for this issue?

  • User Avatar
    0
    Mehmet created

    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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06