cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Login in AngularJS application Generated Using Yeoman Generator

kalpesh_c2
Star Collaborator
Star Collaborator

Hi,

I am unable to login in angularjs application generated using yeoman generator. 

I have successfully created an ng2-alfresco-app without any error, but it doesn't allow me to log-in even if the Alfresco server is running in back-end. The error it gives is "You have entered an invalid username or password: !! (Screenshot attached)

Any help would be appreciated.

Thank You,
Kalpesh
ContCentric

2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator

Hi ‌, Have you enabled CORS in your alfresco server?

Hi

As Mittal Patoliya said you need to enable CORS.

Alfresco provide a JAR that contains a webfragment with CORS enable check : Enable CORS for platform ? · Issue #432 · Alfresco/alfresco-sdk · GitHub to get more information.

Yann