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

error.PNG

  • 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)
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.2.0-preview. Updated on March 18, 2025, 10:42