About
https://groups.google.com/d/topic/web2py/KWnrCnx4KvM/discussionWill the feature be something like this?
js function w2p_ajax_login (url, username, pwd, success, error)
try a post request with username, raw password
if remote login_bare is ok
call success
else if remote raised anything but status 200
call error
- What about redirections?
- Is a 200 status enough or there's need for a more specific response?
- Should the method abort when there's no SSL?
- Will it use js encription feature?
- Should the method also handle user input (widget for requesting a password)
- I think that the scaffolding layout could store an authentication url for default when it is not provided.
- Is there need to update the cookies for storing the login state after sucessful login?