You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Apps Script, the project key shown in the Project properties dialog
44
+
doesn't match the version the library uses. You can call the service's
45
+
`getRedirectUri()` method to view the exact URL that the service will use when
46
+
performing the OAuth flow. Register this version in addition to or in place of
47
+
the version that uses the key shown in the dialog.
41
48
42
49
## Usage
43
50
@@ -190,8 +197,8 @@ See the [FitBit sample](samples/FitBit.gs) for the complete code.
190
197
191
198
#### Modifying the access token payload
192
199
Similar to Setting additional token headers, some services, such as the Smartsheet API, require you to [add a hash to the access token request payloads](http://smartsheet-platform.github.io/api-docs/?javascript#oauth-flow). The `setTokenPayloadHandler` method allows you to pass in a function to modify the payload of an access token request before the request is sent to the token endpoint:
193
-
194
-
200
+
201
+
195
202
// Set the handler for modifying the access token request payload:
0 commit comments