Skip to content

Commit 6da6876

Browse files
authored
fix: "Prompt" property for auth URL in sample (#317)
1 parent 5305253 commit 6da6876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/Google.gs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function getService_() {
5858
// Set the scope and additional Google-specific parameters.
5959
.setScope('https://www.googleapis.com/auth/drive')
6060
.setParam('access_type', 'offline')
61-
.setParam('approval_prompt', 'force')
61+
.setParam('prompt', 'consent')
6262
.setParam('login_hint', Session.getActiveUser().getEmail());
6363
}
6464

0 commit comments

Comments
 (0)