Get lost Google refresh token

Mar 20, 2014 at 4:35 PM
I lost my Google refresh token, how can I get a new one? I read about approval_prompt=force in google api pages, but how can I use it in owin? Is it on Onauthenticated method? And would like to a sample of how get new access tokens after them expires... (I am newbie, please provide clear examples) thanks a lot
Jul 6, 2014 at 1:41 AM
Edited Jul 6, 2014 at 1:56 AM
Unfortunately approval_prompt=force is not currently supported by The Owin GoogleOAuth2Authentication provider. For now you either have to tell your user to revoke access to your app or revoke it yourself (see Revoking a Token at which will cause the prompt to reappear the next time they use your app and you can use that opportunity to save the refresh token.