Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Finally a unified Python solution for OAuth 1.0/a, 2.0 (oh and Ofly) consumers (github.com/litl)
81 points by llambda on March 30, 2012 | hide | past | favorite | 11 comments


Anything is better than Python-oauth2 (which, ironically, does not support OAuth2).


This has to be one of the biggest warts among Python software: for a while it worked for the team I work with but all too soon we found ourselves hacking in little fixes here and there for things that didn't work. And don't even get my started on the confusion the naming causes...

We decided that if we were going to replace things like python-oauth2 we wanted to do a comprehensive solution (actually supporting 1.0, 1.0a, and 2.0 as well as Ofly, which is very much like OAuth 1.0) and we wanted it to run on top of Requests. I think the result is pretty good thus far. Hope you find it useful!


I just found https://github.com/gorakhargosh/pyoauth haven't had time to look into it much but it seems to be well maintained. I had a quick oauth2 demo going up in minutes.


I'm guessing this is only for implementing an OAuth consumer; is there any good Python solution for implementing an OAuth provider?


There's also this project which aims to make a HTTP request library agnostic OAuth implementation: https://github.com/idangazit/oauthlib


What's Ofly? Is there a spec for it?

Edit: found it. Surprised this page makes no mention of OAuth. http://www.shutterfly.com/documentation/OflyCallSignature.sf...


https://github.com/bbangert/velruse/tree/feature.api-revamp

How about this instead ? I've used it in production (api-revamp branch) and its a breeze.

"Velruse is a set of authentication routines that provide a unified way to have a website user authenticate to a variety of different identity providers and/or a variety of different authentication schemes."


By unified you mean another splinter?



not that relevant regarding that existing solutions are crap and we desperately need something that just works with all the things.


This looks pretty good. I'll have to check it out tomorrow.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: