Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OAuth 2.0 Tutorial? [closed]

Tags:

python

oauth

I'm writing a REST web service on twisted and I want to use OAuth 2.0 for authorization. Is there a tutorial out there to help me write the OAuth server without having to read the entire spec? I know it's in draft, but even Facebook is using it.

like image 555
Matt Williamson Avatar asked Aug 13 '10 20:08

Matt Williamson


1 Answers

Edit for 2012: Try Google OAuth 2 playground at https://code.google.com/oauthplayground for a practical demo. It will allow you to see working requests.

There aren't any good, generic OAuth 2 tutorials. Obviously the IETF spec, like any engineering spec, is designed to be specific and verbose rather than short and simple.

Additionally many other oAuth 2 documents are diffs of oAuth 1, which is a horrible way to try and learn something.

I find Google's own (Google-specific) oAuth 2 documents relatively good to get an understanding of how it practically works - what's sent, in what request, to whom: https://developers.google.com/oauthplayground/

like image 77
mikemaccana Avatar answered Sep 20 '22 15:09

mikemaccana