Hi,

I'm trying to get authentication working for a python client talking
to a web2py json function. I'm using the @auth.requires_login()
decorator but I can't seem to get a successful login (works fine from
the user login web page). I'm using client code copied directly from
the last example on this page:

http://www.voidspace.org.uk/python/articles/authentication.shtml

Should the basic auth work here, or do I need more infrastructure for
either the redirect handler or the cookies? No matter what, it always
redirects to the login page even though I'm passing the properly
initialized credentials.

Thanks,
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to