5 ms·
Finally a unified Python solution for OAuth 1.0/a, 2.0 (oh and Ofly) consumers
- ergo14 15y agohttps://github.com/bbangert/velruse/tree/feature.api-revamp 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."
- johtso 15y agoThere's also this project which aims to make a HTTP request library agnostic OAuth implementation: https://github.com/idangazit/oauthlib https://github.com/idangazit/oauthlib
- ashconnor 15y agoBy unified you mean another splinter?
- ohgodthecat 15y agoRelevant: https://xkcd.com/927/ https://xkcd.com/927/
- zalew 15y agonot that relevant regarding that existing solutions are crap and we desperately need something that just works with all the things.
- garindra 15y agoI'm guessing this is only for implementing an OAuth consumer; is there any good Python solution for implementing an OAuth provider?
- mvanveen 15y agoAnything is better than Python-oauth2 (which, ironically, does not support OAuth2).
- llambda 15y agoThis 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!
- amccloud 15y agoI just found https://github.com/gorakhargosh/pyoauth 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.
- benatkin 15y agoWhat'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.sfly http://www.shutterfly.com/documentation/OflyCallSignature.sf...
- pydanny 15y agoThis looks pretty good. I'll have to check it out tomorrow.