Registering a GitHub application

Register an OAuth application on GitHub or GitHub Enterprise to obtain the client ID and client secret for the identity provider configuration.

Procedure
  1. Start the registration process by navigating to the appropriate page in GitHub or GitHub Enterprise:

    • For GitHub, click your profile picture in the upper right corner and select SettingsDeveloper settingsOAuth Apps.

    • For GitHub Enterprise, go to your GitHub Enterprise home page and then select Settings → Developer settings → Register a new application.

  2. Click New OAuth app.

  3. Enter an application name, for example My OpenShift Install.

  4. Enter a homepage URL, such as https://oauth-openshift.apps.<cluster-name>.<cluster-domain>.

  5. Optional: Enter an application description.

  6. Enter the authorization callback URL, where the end of the URL contains the identity provider name:

    https://oauth-openshift.apps.<cluster-name>.<cluster-domain>/oauth2callback/<idp-provider-name>

    For example:

    https://oauth-openshift.apps.openshift-cluster.example.com/oauth2callback/github
  7. Click Register application. GitHub provides a client ID and a client secret. You need these values to complete the identity provider configuration.