caffeinehit/django-oauth2-provider — pull request #43 by almostabc (2013-10-10 03:38:34+00:00)
Title: Catch padding errors when base64 decoding client secrets

Currently certain malformed OAuth headers can cause a 500 server response due to an uncaught exception when base64 decoding improperly padded values. This PR fixes that problem.