We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce5f58 commit 7bbfffbCopy full SHA for 7bbfffb
samples/ZohoCRM.gs
@@ -63,6 +63,8 @@ function getService(optAccountServer) {
63
64
// Set the access type to "offline" to get a refresh token.
65
.setParam('access_type', 'offline')
66
+ // Set prompt to "consent" to ensure a refresh token is retrieved.
67
+ .setParam('prompt', 'consent')
68
69
// Set the property store where authorized tokens should be persisted.
70
.setPropertyStore(PropertiesService.getUserProperties())
0 commit comments