File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * This sample demonstrates how to configure the library for the Intuit Quickbooks API.
3- * Instructions for obtaining your Client ID and Client Secret can be found here:
2+ * This sample demonstrates how to configure the library for
3+ * the Intuit Quickbooks API. Instructions for obtaining your
4+ * Client ID and Client Secret can be found here:
45 * https://developer.intuit.com/app/developer/qbo/docs/get-started
56 */
67
@@ -61,18 +62,14 @@ function getService() {
6162 // Set the endpoint URLs.
6263 . setAuthorizationBaseUrl ( 'https://appcenter.intuit.com/connect/oauth2' )
6364 . setTokenUrl ( 'https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer' )
64-
6565 // Set the client ID and secret.
6666 . setClientId ( CLIENT_ID )
6767 . setClientSecret ( CLIENT_SECRET )
68-
6968 // Required, set to Accounting for this example, see QB developer portal for additional options.
7069 . setScope ( 'com.intuit.quickbooks.accounting' )
71-
7270 // Set the name of the callback function in the script referenced
7371 // above that should be invoked to complete the OAuth flow.
7472 . setCallbackFunction ( 'authCallback' )
75-
7673 // Set the property store where authorized tokens should be persisted.
7774 . setPropertyStore ( PropertiesService . getUserProperties ( ) ) ;
7875}
You can’t perform that action at this time.
0 commit comments