OAuth and mod_wsgi

Just a quick tip: If you’re building an (e.g., Django) application that:

then you need to ensure that you set the WSGIPassAuthorization configuration directive to On. If you don’t, then Apache will filter the Authorization header, and OAuth parameters will never reach your application.

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • Reddit
  • HackerNews
  • del.icio.us
  • Google Bookmarks
  • Slashdot
This entry was posted in Python. Bookmark the permalink.