On Wednesday, February 10, 2016 at 12:00:27 PM UTC-5, Arndt Droullier wrote: > > And make sure it is not OpenAuth or OpenID; unlike SSO in general there > are a few python client libs ready to use. >
Assuming OpenAuth means oAuth, this low-level package is pretty great - https://github.com/idan/oauthlib It's incredibly low-level, but I was able to build out an oauth2 API with it under pyramid in a day. (as in an API that we host and people authenticate to). The only downside is that it enforces the specs, and a lot of oauth providers are broken. (Twitter, for example, uses mixed params in a few endpoints – so you need to patch the library to setup tests against a mock endpoint OR test against the real endpoint). If you're not maintaining the endpoint and just using a client, the easiest thing to look at a popular oauth/openid provider and repurpose their packages for your own. There's also velruse (https://velruse.readthedocs.org/en/latest/) could be extended to custom providers. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
