Login issue in ADF

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

Re: Login issue in ADF

Hi Romano,

I also referred this link - How to deploy an ADF APP 

And used 1st option - 

1. Apache

But i am getting a blank page ... and not getting login screen. Can you please suggest.

Alfresco Content Services Certified Engineer (ACSCE)
ranjeetsi
Established Member II

Re: Login issue in ADF

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.

Alfresco Content Services Certified Engineer (ACSCE)
eugenio_romano
Alfresco Employee

Re: Login issue in ADF

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   .

ranjeetsi
Established Member II

Re: Login issue in ADF

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!

Alfresco Content Services Certified Engineer (ACSCE)
eugenio_romano
Alfresco Employee

Re: Login issue in ADF

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.