Michele has created a x509 authentication module. Part his code is in web2py trunk, part is pending waiting for Tim to include it in Rocket. It will be available soon.
On Sep 15, 3:01 pm, Ross Peoples <ross.peop...@gmail.com> wrote: > I am very interested in token-based authentication and authorization using > web services because I'm about to have to start getting in to that. I do > have a question though, because I was wondering this: can you make a > login(username, password) function that does the authentication, then saves > something like logged_in=True to the session? > > I only ask because I don't know if web service clients (like XML-RPC and > JSON-RPC) observe sessions. It would be interesting to see, because then you > wouldn't need to worry about tokens and it would work more like the > traditional web-based login from a browser.