Complete 'django piston with oauth support' example Complete 'django piston with oauth support' example django django

Complete 'django piston with oauth support' example


If you're using a released version of Piston, you might be interested in how we implemented OAuth in Snowy, our AGPL web app for Tomboy notes:

http://git.gnome.org/browse/snowy/tree/urls.py#n48

http://git.gnome.org/browse/snowy/tree/api/urls.py

http://git.gnome.org/browse/snowy/tree/api/templates/piston/authorize_token.html

http://git.gnome.org/browse/snowy/tree/api/handlers.py

The OAuth views are bundled with piston (in the released version).

I have yet to upgrade to prencher's improved OAuth fork (which will apparently turn into 0.3 soon?), but here are his instructions if you are using his code:

http://groups.google.com/group/django-piston/msg/5a148c8e33654c5d

(make sure to read all of his responses in that thread, as he makes some clarifications)