Creating a GitHub App
Create a GitHub App to enable OAuth 2.0 authentication with enhanced security and features.
Access Developer Settings
Sign in to your GitHub account and navigate to developer settings.
- Click your profile photo in the upper-right corner
- Select Settings from the dropdown
- In the left sidebar, scroll down and click Developer settings
Create New GitHub App
Register a new GitHub App for StackOne integration.
- In the left sidebar, click GitHub Apps
- Click New GitHub App
- Enter GitHub App name: StackOne Integration (or your preferred name)
- Enter your website’s Homepage URL (e.g.,
https://stackone.com) - Enter Callback URL:
https://api.stackone.com/connect/oauth2/github/callback - Uncheck Request user authorization (OAuth) during installation
- Check Expire user authorization tokens to enable refresh token support
- Uncheck Active under Webhook
Configure Permissions
Set the required permissions for your integration needs. GitHub Apps use fine-grained permissions instead of traditional OAuth scopes.
⚠️ IMPORTANT: These permissions are set here in the GitHub App configuration and CANNOT be changed during user authorization. Users will see these permissions when they authorize the app and can choose which repositories to grant access to.
Select Installation Location
Choose where the app can be installed.
- Under Where can this GitHub App be installed?, select either Only on this account or Any account
- Click Create GitHub App
Copy Client ID
After creation, you’ll be redirected to your app’s settings page.
- Locate the Client ID field and copy its value.
- Store this value securely for use later.
Generate Client Secret
Generate a client secret for OAuth authentication.
- Scroll to the Client secrets section
- Click Generate a new client secret
- Copy the displayed secret immediately and store it securely
Enable Refresh Token Support
Enable refresh token support for OAuth authentication.
- Navigate to Optional features from the left sidebar menu
- Click the Opt-in button corresponding to User-to-server token expiration. If it’s already enabled, you should see the Opt-out button instead.
Install the GitHub App
Install the GitHub App on your account or organisation for full access to private repositories, organisation data, and app-level permissions. This can be done before or after linking your account in StackOne. Without installation, only public repositories and user profile data are accessible.
- Visit
https://github.com/settings/apps/{your-app-name}/installations(replace{your-app-name}with your app slug) or navigate to your app’s settings page, then Install App tab from sidebar. - Click on Install next to the account or organisation where you want to install the app
- Choose All repositories or select specific repositories
- Click Install button.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for GitHub:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select GitHub
- Select Type as GitHub App
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile