Authentication service does not work inside lazy loaded module

cancel
Showing results for 
Search instead for 
Did you mean: 
yadavami
Member II

Authentication service does not work inside lazy loaded module

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
dvuika
Alfresco Employee

Re: Authentication service does not work inside lazy loaded module

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
Member II

Re: Authentication service does not work inside lazy loaded module

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
Alfresco Employee

Re: Authentication service does not work inside lazy loaded module

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