The last link was the one I was looking at first. Before this post. But """ login_bare returns user if the user exists and the password is valid, else it returns False. username is the email if the "auth_user" table does not have a "username" field. """ doesn't sound like I logged in a user. It just returns the user and returns false. But I will give it a try. BR, Jason Brower
On Friday, January 18, 2013 11:39:35 PM UTC+2, Alan Etkin wrote: > > My current app runs with only JSON calls is there a way to make the login >> occure with JSON? >> > > Did you check this? > > > http://www.web2py.com/books/default/chapter/29/10#Services-and-Authentication > > http://www.web2py.com/books/default/chapter/29/09#Access-Control-and-Basic-Authentication > http://www.web2py.com/books/default/chapter/29/09#Manual-Authentication > > --