gmail - Google OAuth 2.0 refresh token 400 Bad Request only for some users -


i'm using oauth 2.0 access gmail accounts, accounts receive "no invalid credentials" when trying login through sasl xoauth2 mechanism.
for accounts if try refresh access token google returns me 400 bad request , html response:

<html> <head> <title>error processing oauth 2 request</title> </head> <body bgcolor="#ffffff" text="#000000"> <h1>error processing oauth 2 request</h1> <h2>error 400</h2> </body> </html> 

suggestions? have read on google developers site receive support google have write here.

edit: raw request fiddler, same request other accounts works good

post https://accounts.google.com/o/oauth2/token http/1.1 content-type: application/x-www-form-urlencoded host: accounts.google.com content-length: 175 expect: 100-continue connection: keep-alive  refresh_token=1%2fnyvrzman0npk9cis4ctiigybvl1yfspxb6rexxxxxxxx&client_id=6206xxxxxxxx.apps.googleusercontent.com&client_secret=h4-q_wigfzlwgkgkxxxxxxxx&grant_type=refresh_token 

i see request token endpoint posted here. show sample request app sent authorization endpoint? (the endpoint user sees approval page?)


Comments