...
Create a Private White Label app with both distribution types enabled.
...
Provide the basic information for the app in the Basic Info tab and then switch to
...
Make sure the following scopes have been enabled for the App:
contacts.readonly
contacts.write
users.readonly
locations.readonly
locations/tasks.readonly
locations/tasks.write
Please set the redirect URL for the app and click Add.
...