0

I’m trying to implement the same type of login functionality that is available in GeoExplorer. I gather from the answer to this question that there are at least a few files needed. On the client side I’ve added the following lines , which seems to work OK (the login window is displayed when clicking on the login button).

The error I get when clicking on the button to sumbit the user/password is the following (running the app using debug with client side SDK):

"NetworkError: 404 Not Found - http://localhost:9080/login/"

So obviously I’m missing some code/configuration. From the thread I linked to, it says auth.js is needed for the server side, but I’m not sure how to set it up properly. I'm using version 3.1 of the suite.

What am I missing in order for the login to work?

1

It means integrating stick into the SDK application, in order to use server-side javascript.

https://github.com/hns/stick

https://github.com/boundlessgeo/suite/blob/master/geoexplorer/pom.xml#L79:L85

The best I can advise is to look at how this is done in GeoExplorer.

  • Thank you for the quick reply. I'll try integrating stick and also look into GeoExplorer a bit more. – Markus Nov 12 '13 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.