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:

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    unlonlyness created

    I have the same problem.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    unlonlyness created

    It's the same problem. Lost my day

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Mehmet created

    Hi,

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.