Thursday, 8 August 2013

Google Drive SDK - automatically get dhe authorizationToken

Google Drive SDK - automatically get dhe authorizationToken

I'm playing with the Google Drive SDK in .NET (DrEdit example MVC 3
project) and after reading some posts about refreshing the Acces Token
basing on the Refresh Token
(http://www.solutionoferror.com/asp-net/how-to-generate-access-token-using-refresh-token-through-google-drive-sdk-i-128212.asp)
But, after stored the Access Token & Refresh Token in the DB, the next day
with using them I get the 401 error from the Google Server (No
authorization) and I'm redirected to the google page to get the
Authorizatino Code. So, how to automatically get that code without user
interaction ?

No comments:

Post a Comment