Skip to content

Commit

Permalink
docs(samples): set auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Praful Makani committed Jul 6, 2020
1 parent bf298d2 commit 6f49ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -83,7 +83,7 @@ public static void authUserFlow(Path credentialsPath, List<String> selectedScope
selectedScopes)
.setDataStoreFactory(new FileDataStoreFactory(DATA_STORE_DIR))
.setAccessType("offline")
.setApprovalPrompt("force")
.setApprovalPrompt("auto")
.build();

// Exchange an authorization code for refresh token
Expand Down
Expand Up @@ -89,7 +89,7 @@ public static void authUserQuery(
selectedScopes)
.setDataStoreFactory(new FileDataStoreFactory(DATA_STORE_DIR))
.setAccessType("offline")
.setApprovalPrompt("force")
.setApprovalPrompt("auto")
.build();

// Exchange an authorization code for refresh token
Expand Down

0 comments on commit 6f49ee7

Please sign in to comment.