cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication service does not work inside lazy loaded module

yadavami
Champ in-the-making
Champ in-the-making

I am trying to silent login to Alfresco ECM system but unable to login as "AppConfigService" does not read values from app.config.json file properly when inside lazily loaded module.

So instead of using Alfresco ECM hostname and port authentication service takes running application's hostname and port number.

zone.js:2616 GET http://localhost:4200/ecm/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-?include=all... 404 (Not Found)

3 REPLIES 3

dvuika
Star Collaborator
Star Collaborator

Thaks for reporting. We are actively working on lazy loading support for next release (2.1). Lazy loading support should be fixed in the Friday beta together with localization support. We will inspect the authentication as well.

yadavami
Champ in-the-making
Champ in-the-making

Hi,

Does release version 2.1.0-beta7 has support for lazy loaded modules issues.

https://github.com/Alfresco/alfresco-ng2-components/releases/tag/2.1.0-beta7

dvuika
Star Collaborator
Star Collaborator

Not yet, sorry. We are still discussing and reviewing the corresponding PR: https://github.com/Alfresco/alfresco-ng2-components/pull/2811