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.
-
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 Settings → Developer settings → OAuth Apps.
-
For GitHub Enterprise, go to your GitHub Enterprise home page and then select Settings → Developer settings → Register a new application.
-
-
Click New OAuth app.
-
Enter an application name, for example
My OpenShift Install. -
Enter a homepage URL, such as
https://oauth-openshift.apps.<cluster-name>.<cluster-domain>. -
Optional: Enter an application description.
-
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
-
Click Register application. GitHub provides a client ID and a client secret. You need these values to complete the identity provider configuration.