SyntaxFix
Write A Post
Hire A Developer
Questions
Found out by adding this to your url parameters
approval_prompt=force
Update:
Use access_type=offline&prompt=consent instead.
access_type=offline&prompt=consent
approval_prompt=force no longer works https://github.com/googleapis/oauth2client/issues/453