Registering an OAuth app
G2 issues OAuth credentials from the G2 Developer Portal. The app’s permissions decide which scopes it may request, so set them before you copy the credentials.
Create your Developer Portal account
Sign in at the G2 Developer Portal, or select Create an account if you do not have one. Skip this step if you can already reach the portal.
- Verify your email address.
- Organization Name: your company name
- Organization Slug: a unique short name for your organization
- The slug becomes part of your portal address, so use it to sign in from then on.
- If the slug is already taken, your organization has a portal already. Ask your G2 admin to add you instead.
Register the app
Navigate to the OAuth Apps tab, then select New OAuth App.
- Name:
StackOne Integration - Privacy Policy URL: a valid public link to your privacy policy
- Terms of Service URL: a valid public link to your terms of service
- Redirect URL: the Callback URL shown in your Connector Profile
- Placeholder or broken policy links may prevent the app from being approved.
- Enter the redirect URL exactly as your Connector Profile shows it.
- Select the Confidential checkbox so the app is issued a client secret.
Select the app permissions
In the Permissions panel, select the Read checkbox next to each endpoint the app should reach, then select Save. An endpoint left unselected is not accessible with these credentials, and a scope with no matching permission is rejected when the app requests it.
Copy the client credentials
Select Details on the app in the OAuth Apps panel, then copy the Client ID and Client Secret into your Connector Profile.
- Both values are in the OpenID Connect Details panel.
- Partner integrations must also replace
partner-idin thepartner:partner-id.readscope with the Partner ID G2 issued them.
Create the StackOne Connector Profile
Create a Connector Profile
Link an Account