(For assistance with any of the items below, please contact support or your OpenGround Implementation Manager.)
To use the OpenGround API, you will need a Client ID, and potentially a Client Secret, depending on the Authentication method you will be using, as described below.
Important - When requesting a Client ID, please provide a brief description of your development objectives, what your application will do, and what programming languages/technologies you will be using. There is often confusion around the authentication process. Having some additional information on your development objectives will help the OpenGround team most efficiently assist you in this process.
For User Login authentication, for development purposes, you can use the generic Client ID:
openground-cloud-connector
A Client Secret is not needed for User Login authentication.
When you are ready to deploy your app into production, we request that you use a unique Client ID. Please let us know (in the support case):
We can then provide a Client ID.
The following Redirect URI's can be used by default:
For Machine authentication, you will need to create a 'service account' user in your cloud with the appropriate access levels assigned. Assign the user a generic (fake) email address. It doesn't need to be a working email address and shouldn't be an actual user's email. The Client ID will be linked to this service account.
If you are developing multiple apps, create a service account user in the cloud for each app.
For example, below we have created 2 service account "users" - one will be associated with the Client ID for a GIS application and one that will be associated with the Client ID for a Field application. Both user accounts have been assigned as System Admins so these applications will have full access to the cloud instance.
Then, let us know (in the support case):
We can then provide a unique Client ID and Client Secret for each app.
Note - You can use the same Client ID for both your sandbox and production clouds. Or, we can create different Client ID's for each cloud instance. This is up to you and your own security requirements. We can link your clients to the service accounts in whichever cloud as you direct us to.