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 67cae40 commit 91d7aa3Copy full SHA for 91d7aa3
samples/Dropbox.gs
@@ -53,8 +53,8 @@ function getService_() {
53
// Set the property store where authorized tokens should be persisted.
54
.setPropertyStore(PropertiesService.getUserProperties())
55
56
- // Set the response type to code (required).
57
- .setParam('response_type', 'code');
+ // Enable offline access (refresh_token).
+ .setParam('token_access_type', 'offline');
58
}
59
60
/**
0 commit comments