Remove 'assertion_type' from _generate_refresh_request_body. Fixes Issue 238.
Reviewed in https://codereview.appspot.com/7308075/
diff --git a/oauth2client/client.py b/oauth2client/client.py
index 8517946..3370688 100644
--- a/oauth2client/client.py
+++ b/oauth2client/client.py
@@ -852,7 +852,6 @@
assertion = self._generate_assertion()
body = urllib.urlencode({
- 'assertion_type': self.assertion_type,
'assertion': assertion,
'grant_type': 'urn:ietf:params:oauth:grant-type:jwt-bearer',
})
@@ -920,7 +919,7 @@
example prn=joe@xample.org."""
super(SignedJwtAssertionCredentials, self).__init__(
- 'http://oauth.net/grant_type/jwt/1.0/bearer',
+ None,
user_agent=user_agent,
token_uri=token_uri,
revoke_uri=revoke_uri,