Login issue in ADF

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

Login issue in ADF

Hi all,

I installed ADF 2.6.1 and getting login issue when i try to login using admin/admin

I am getting this error

You've entered an unknown username or password

Can anyone help - looks like some config issue.

Alfresco Content Services Certified Engineer (ACSCE)
14 Replies
rashesh_ved
Active Member II

Re: Login issue in ADF

Hii,
Make sure you have started alfresco at 8080 port.
To verify before running your ADF try to go for http://localhost:8080/share
If above url lets you login using admin,admin then try to go for adf login.

ContCentric

onkovic
Active Member II

Re: Login issue in ADF

Sadly, the error message

You've entered an unknown username or password

isn't very helpful. This error message will be displayed in the following scenarios:

  • Username or password is incorrect (obviously),
  • ADF can't reach the Alfresco backend (either Content Services or Process Services or both),
  • If you run Content Services AND Process Services, this can also happen when a user does not exist in both products.

To debug this error, first, check the console for error messages (the one in which you typed npm start). If you find the error ECONNREFUSED then ADF can't reach the Alfresco backend (ADF is only the frontend. You still need Content Services and/or Process Services running). So first make sure, that the backend is running and that you can reach it. Then check if your proxy.conf.json points to the right URL and port.

If you run Content Services AND Process Services, this error will occur by default (at least on my machine). In Content Services the admin login is admin:admin. In Process Services, however, it is admin@activiti.app.com:admin. Therefore, open Process Services on <your-host>:<your-port>/activiti-app, click on Identity Management and change the email of the administrator to "admin". Then save and try again to log in via ADF.

ranjeetsi
Established Member II

Re: Login issue in ADF

Hi ,

I am getting

Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
Only content services is running. 
Alfresco Content Services Certified Engineer (ACSCE)
ranjeetsi
Established Member II

Re: Login issue in ADF

Hi all,

 

Only content services is up and running - but accessible via https

I am trying from my local ADF application(localhost:4200) to access the content services application - https://{host}:/

 

Getting below error:

Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
----------------------------------------------------
Can you please suggest what can be done here.
Alfresco Content Services Certified Engineer (ACSCE)
prachi_shah_c2
Active Member II

Re: Login issue in ADF

Hi Ranjeet Kumar Singh

Maybe it works by making the browser including the header  Access-Control-Allow-Origin:*  in the HTTP OPTIONS' responses.

In Chrome, use this extension. If you are on Mozilla check this answer.

Thanks,

Prachi Shah

ContCentric

ranjeetsi
Established Member II

Re: Login issue in ADF

Hello Prachi , 

I did that and does not work.

Actually the ADF is connecting to the ACS which is on SSO and (https). So ideally looking on the ways how to get ADF working when trying to connect ACS which is SSO enabled.

Alfresco Content Services Certified Engineer (ACSCE)
eugenio_romano
Alfresco Employee

Re: Login issue in ADF

Which kind of SSO are you using?

ranjeetsi
Established Member II

Re: Login issue in ADF

Hi Romano,

Thanks for replying!

We are using active directory - Identity access management . 

So when we use https:{domail}/share

It redirects to mycloud login page and when we enter authentication - we get the next page . By associating the xxxxxxSSOLogin cookie.

Is there any way that - In the code where i can apply the session cookie in the header and then get the next page(after login page)?

Please let me know if any questions.

Alfresco Content Services Certified Engineer (ACSCE)