Is there anyone who succesfully use basic auth for services? can you share you experience, how did you get things working?
David On 13 srp, 17:05, David Marko <dma...@tiscali.cz> wrote: > It doesnt work for me or I miss something. > > I have added following line into my db.py > auth.settings.allow_basic_login = True > > Now I'm trying post data to some API method from my service consumer > code. But it doesnt authenticate but instead the response I'm getting > is html page with login form. > > Is there something else I should setup, or is it all fine? > > Also why the docs is repeatedly saying, that to enable the basic > loggin, I should set it to 'False' ? > "Do you want to allow basic login? auth.settings.allows_basic_login = > False" > > David > > On 13 srp, 10:08, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > yes > > > On Aug 13, 3:01 am, David Marko <dma...@tiscali.cz> wrote: > > > >http://web2py.com/book/default/chapter/08#Access-Control-and-Basic-Au... > > > ### does it mean, that both authentication will work together? The > > > default form based will remain working and basic_auth will be > > > available, when client program(some service consumer) will > > > authenticate via basic_auth? > > > > David