Create a GitHub App for OpenShift Dev Spaces
Create a GitHub App as an alternative to an OAuth App so that OpenShift Dev Spaces can authenticate your developers with finer-grained repository permissions. .Prerequisites
About this task
- You are logged in to GitHub.
Procedure
- Register a GitHub App. See Registering a GitHub App.
- Enter the following values:
- GitHub App name:
<application_name> - Homepage URL:
https://<openshift_dev_spaces_fqdn>/ - Callback URL:
https://<openshift_dev_spaces_fqdn>/api/oauth/callback - Deselect the Active check box in the Webhook section.
- Under Permissions & events, set the Contents repository permission to Read and Write.
- GitHub App name:
- Click Create GitHub App.
- Click Generate a new client secret.
- Copy and save the GitHub App Client Secret for use when applying the GitHub App Secret.
- Copy and save the GitHub App Client ID for use when applying the GitHub App Secret.
- Install the GitHub App. See Installing your own GitHub App.
Results
- Verify that the GitHub App appears in your GitHub account under Settings
Developer settings GitHub Apps.
Related information