1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #111 new

OAuth is broken when using anything other than application/x-www-form-urlencoded

Patryk Zawadzki
created an issue

The following commit seems to be the culprit:


Line 100 of authentication.py was changed to no longer inspect the content type so the OAuth server insists on including the whole payload into signed data. The TestClient does not (and it seems neither do other OAuth clients) so you end up with a signature mismatch.

Comments (4)

  1. Log in to comment