Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Make sure we always force the approval prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiedoll committed Sep 17, 2014
1 parent cd67361 commit e3012d0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ public Credential makeCredential(File clientSecretsJson) throws IOException {
scopes)
.setDataStoreFactory(dataStoreFactory)
.setAccessType("offline")
.setApprovalPrompt("force")
.build();
return refreshToken(
new AuthorizationCodeInstalledApp(flow, verificationCodeReceiver.get())
Expand Down

0 comments on commit e3012d0

Please sign in to comment.