Hi Romano,
I also referred this link - How to deploy an ADF APP
And used 1st option -
But i am getting a blank page ... and not getting login screen. Can you please suggest.
I am getting this page - Not a CORS though
Followed - 1 Apache , and have used tomcat
Link - How to deploy an ADF APP
My ECM is running at http://localhost:18080
When trying to connect the ECM(http://localhost:18080) via a local workspace(visual studio code - npm start) - I am able to get the page after login.
Appreciate any help.
which ecm version are you using?
Where did you configured the URL?
did you read the end of the guide?
If you experience cross-domain requests problems then check this guide for advice on how to solve them: ADF CORS solving strategies
If you have any questions then feel free to reply here or contact us using gitter .
Hi Romano,
There are two things i am trying:
a) Deploying ADF on a local tomcat(8080 port) and connecting ECM (version 5.2.4) running at port 18080.
In this i am facing issue as above screenshot.
b) Deploying ADF on a local tomcat(8080 port) and connecting ECM (version 5.2.3) on aws environment which is ssl - url (https://xxxxx.xxxxxxx.com)
and the login credentials which i am applying is from the SSO credentials (authenticated via Active directory) maintained by the organisation.
For this - should i change the code in ADF such that ADF is able to handle SSO. Since the we have our own external SSO and don't use Kerberos.
Can you please help how to modify/create our custom login component . Any urls/links/tutorials that can help here.
First Look At Alfresco Development Framework (ADF)
Thanks in advance!
With this configuration is normal that you have a CORS problem.
Please give a look to this article Cross-Origin Resource Sharing (CORS) | MDN .
A web application makes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, and port) than its own origin and this is your case. The default behavior of any browser does not allow this kind of practice.
You have to follow this guide and or configure a proxy on your environment or completely enable CORS call on your Alfresco Content Services :ADF CORS solving strategies
Once you have configured the proxy you should change your app.config.json to point to the proxyed version in the same domain of your ECM.
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.