Open Closed

Angular-oauth2-oidc Error #686


User avatar
1
chanchai-mwp 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:

angular-oauth2-oidc.js:

error loading discovery document TypeError:

Cannot read property 'length' of null

at HttpHeaders.applyUpdate (http.js:235)
at http.js:207
at Array.forEach (<anonymous>)
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)
  • Steps to reproduce the issue:


3 Answer(s)
  • User Avatar
    0
    unlonlyness created

    I have the same problem.

  • User Avatar
    0
    unlonlyness created

    It's the same problem. Lost my day

    https://support.abp.io/QA/Questions/684/Angular-SSO-issue

  • User Avatar
    0
    Mehmet created

    Hi,

    The problem has been resolved as of v4.0.2. Sorry for the late response and inconvenience.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13