Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Request:
  2. 'https://www.googleapis.com/oauth2/v4/token'
  3. {'headers': {'User-Agent': 'python-keystoneclient'}, 'allow_redirects': False, 'data': {'username': 'vinc.devl.test@gmail.com', 'scope': 'openid email profile', 'password': 'XXX', 'grant_type': 'password'}, 'auth': ('XXX.apps.googleusercontent.com', 'XXX'), 'verify': False}
  4.  
  5. Response:
  6. Code: 400
  7. u'{
  8. "error": "invalid_request",
  9. "error_description": "Invalid OAuth 2 grant type: PASSWORD"
  10. }
  11. '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement