[BangPypers] Proposed python module: simpleoauth

Santosh Rajan santrajan at gmail.com
Thu Mar 10 06:53:55 CET 2011


Good work. The original author of OAuth, Eran Hammer Lahav, had to go and
bail out Twitter, back in 2009.

The problem with this identity thing is that, there are only two ways to
solve it.

1) Federated Identity.
2) Delegated Identity.

You are doing Delegated Identity. Which has its its own problems. Federated
Identity has the "PKI Authority" problem.

In either case you are completely fucked up. Just doesn't work.


On Thu, Mar 10, 2011 at 9:14 AM, Navin Kabra <navin.kabra at gmail.com> wrote:

> Hi All,
>
> Need your help on this.
>
> After getting very confused and frustrated at the state of OAuth libraries
> in python, I decided that there needs to be a simpler way of doing OAuth in
> Python. As a proof-of-concept I've implemented the following:
>
> https://github.com/ngkabra/simpleoauth
>
> The design goals were:
>
>
>   - Simple interface for the common cases, at the expense of flexibility
>   - Should work with OAuth v1 or OAuth v2 with the same or similar
>   interface
>   - Should be easy to incorporate into Django
>
>
> At this stage, this code is neither complete nor is it well tested. It is
> just a proof-of-concept that works for basic cases (I've tried it with
> facebook and twitter).
>
> Help needed:
>
>   - Feedback on whether this seems useful. Note: this is not targeted
>   towards OAuth ninjas, and is not appropriate for complex OAuth
>   implementations. Just a quick way to access basic OAuth based APIs like
>   facebook, twitter, yammer, delicious.
>   - If it seems useful, then help needed in completing it - with finishing
>   the functionality, packaging, testing etc.
>
> Let me know what you think. Thanks.
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
http://about.me/santosh.rajan


More information about the BangPypers mailing list