Hi, I'm need to implement a website (intranet) that runs everything on the client side communicating to the server via RESTful requests. I'm using jQuery but my big issue at the moment is how to manage the login.
I'm not sure which is the best method to login the user securely from javascript. We're using REST for the site requests and HTTP Auth for the authentication at the moment, but I don't want to use that ugly browser login. I want to manage everything from the client side using javascript. But since javascript is viewable by the users I think that probably could be dangerous. What are your suggestions? Is there a jQuery plugin for http-Auth? Or maybe I should use other method? Thanks, Leandro