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?