On 11/28/06, Adam Jones <[EMAIL PROTECTED]> wrote: > > At the moment I am subclassing SOProvider.SqlObjectIdentityProvider and > overriding the validate_password method to do what I need. The problem > is that openid authentication works in the following manner: > > 1. User submits their oid url to login > 2. Server contacts the openid server specified, does some work, > redirects user to that server > 3. User (now at the openid server) allows the original site to > authenticate > ** 4. openid server redirects user to a landing page, which verifies > some information and finishes the login. ** > > I've highlighted the problem part. Basically I need a way to send > someone from the provider's validate_password method to an outside url, > have them redirected back to an onsite url, and complete the > validate_password method from info sent to that url. Beyond that all of > the rest of the identity behavior doesn't need to change. I have no > idea how to make this part of it work though.
you can use cherrypy.HTTPRedirect, then I guess that the return URL should go somewhere inside the request, this could be plug into the controller in the same way widgets do with a exposed method that will as you said finish the process of validation. > > -Adam > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

