Mon, 19 Jan 2009

Django, OpenID and OAuth

posted at: 04:15 | Tags: , , , | permalink | trackback | 0 comment(s)

I have previously written how I decided to implement Recycloid server using Django and django-openid. Now I've done some more experimenting and OAuth part will be implemented using django-oauth.

If you've already got (or are willing to get) an OpenID, you can login to a linuxbox.fi test server. You can also browse the source code of the server and its history using your browser (thanks to LoggerHead). The Bazaar branch can be found at http://linuxbox.fi/~vmj/src/mysite if you want to try it yourself.

If you do login, and register a new OAuth Consumer, you can use the test_client.sh shell script (revision 25) to test the OAuth access. The script is tested using ash on a Linux environment, and requires at least wget and optionally lynx installed. Before you run the script, export CONSUMER_KEY and CONSUMER_SECRET environment variables (with matching values you get at the site).

 
['openid', 'django', 'django']

Read the 0 comment(s) or add a comment.