I simply tried to call the method with URLcontaining the username/
password. e.g. tttp://username:p...@localhost:8080/....  . Its just
internal call so its fine that username/pwd is in URL. I simply tried
this in browser, but login form apeared instead.

David

On Dec 29, 10:25 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> The allow basic login allows you to call functions that
> @auth.requires_login() by passing the credential using basic auth for
> example call the url using wget and curl.
>
> How are you using it?
>
> On Dec 29, 2:59 pm, David Marko <dma...@tiscali.cz> wrote:
>
> > How the settings 'auth.settings.allow_basic_login = True' is supposed
> > to work? I tried to login to protected method('....@auth.requires_login
> > ()') via basic auth, but was not succesfull. Is there some additional
> > setting for protected methods or '....@auth.requires_login()'' is simply
> > used for both auth ? Can someone explain please?
>
> > David

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to