omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Avoid passing bytes to string format in header #947

Closed EdwardBetts closed 8 years ago

EdwardBetts commented 8 years ago

Using Python 3, we need to pass a str to format, not bytes. Otherwise we end up with an Authorization that looks like:

Authorization: Basic b'Zm9vOmJhcg=='

EdwardBetts commented 8 years ago

This affects more backends. I've submitted a new pull request: #947.