Dreamfactory User Management Calling Wrong url


#1

I downloaded the finished project from here
I changed the Dsp url and Dsp api key and placed the app folder at the root of my web server (Xampp).
When I head to the login page and enter my username and password nothing happens I saw that The module is calling the wrong url here is the log file . What can be wrong here?

Navigated to http://127.0.0.1/appy/
XHR finished loading: GET “http://127.0.0.1/appy/views/main.html”.
XHR finished loading: GET “http://127.0.0.1/appy/views/login.html”.
XHR finished loading: GET “http://127.0.0.1/appy/bower_components/dreamfactory-user-management/views/login.html”.
XHR finished loading: GET “http://127.0.0.1/appy/bower_components/dreamfactory-user-management/views/fp-email-conf.html”.
POST http://127.0.0.1/appy/dsp-qmaster.cloud.dreamfactory.com/rest/user/session 404 (Not Found)
XHR finished loading: POST “http://127.0.0.1/appy/dsp-qmaster.cloud.dreamfactory.com/rest/user/session”.
TypeError: Cannot read property ‘length’ of undefined
at Scope.$scope.parseDreamFactoryError (main.js:122)
at main.js:157
at Scope.$get.Scope.$broadcast (angular.js:12454)
at app.js:97
at Object.invoke (angular.js:3805)
at app.js:94
at deferred.promise.then.wrappedErrback (angular.js:11112)
at deferred.promise.then.wrappedErrback (angular.js:11109)
at deferred.promise.then.wrappedErrback (angular.js:11109)
at angular.js:11242


#2

Assuming your DSP is at https://dsp-qmaster.cloud.dreamfactory.com, your app should POST to https://dsp-qmaster.cloud.dreamfactory.com/rest/user/session instead. I recommend checking to make sure you have your user management module posting to the correct DSP URI, as well as have it configured properly in app.js. The correct API URI to call is https://dsp-qmaster.cloud.dreamfactory.com/rest/user/session, but the implementation in your code is up to you.