Closed bklang closed 8 years ago
OAuth2 is currently at 0.5.0
.
This issue you are seeing is that you are attempting to encode a tuple into JSON.
Issue is that this was being submitted as application/x-www-form-urlencoded in previous version of Oauth2 but after this commit the content-type was removed from the client headers and defaults to application/json which is incorrect for this case. PR above just sets content type manually in call to AccessToken.post
@bklang wow, I was off big time. I didn't even remember releasing 0.6.0
...probably best not to reply from my phone, hehe.
@hannahhoward great job finding the source of the issue!
When attempting to update to oauth2 version 0.6.0, the OAuth2 token validation step fails with the error:
Downgrading to oauth2 0.5.0 does not exibit the issue.
Full stacktrace: