Unable to Login in AngularJS application Generated Using Yeoman Generator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2016 12:00 AM
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
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2016 01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2016 02:02 PM
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
