[Twisted-web] Form based authentication

Louis D. Burr ldanielburr at me.com
Tue May 29 07:54:07 EDT 2012

Hi Achim,

On May 29, 2012, at 3:54 AM, Achim Domma <domma at procoders.net> wrote:

> Hi,
> can somebody point me to some examples about how to do form based authentication in twisted.web? I'm just getting started with twisted.web, because I want to implement some async web stuff. So far I really like it, because the handling of resources is quite similar to CherryPy, which I like too. But I was not able to find some up to date information about authentication and authorization in twisted.web. Any hint would be very appreciated.

You could look at https://github.com/minskmaz/txWebAuth for an example of how to do form-based auth using twisted.cred and twisted.web.  The code is pretty raw, but it should at least give you an idea of what to do.

Hope this helps,


More information about the Twisted-web mailing list