asifshaon / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Using Refresh Token #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.In Offline access, while redeeming code for tokens,got a response parameter 
named "id_token" in the place of refresh token.
2.Assuming it as refresh token,used it for retrieving Access Token(parameters 
in request-client_id,client_secret,refresh_token,grant_type)
3.But the request returned with error-400:BAD REQUEST

What is the expected output? What do you see instead?
Expecting response with parameters access token, expires in, token type

What version of the product are you using? On what operating system?
.NET 4.0.Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by prakashb...@gmail.com on 7 Feb 2012 at 10:34

GoogleCodeExporter commented 9 years ago
There were changes in the way refresh and access tokens were generated and the 
library has been fixed to adjust to the new options. See attached bugs and 
CL#51be0b85b89c

Original comment by asky...@google.com on 25 Apr 2012 at 8:52