Using Django as an OAuth provider

For a while I couldn’t understand why getting a request token wasn’t working from our Django server, it kept returning 401 – it is because mod_wsgi does not pass the Authorization header by default over to Django.

To get the Authorization header, add:

WSGIPassAuthorization On

to your configuration.

Tags:

Comments are closed.