Configure GitHub OAuth
Configure GitHub and Spinnaker to use GitHub as an OAuth2 authenticator.
Prerequisites
Ability to modify developer settings for your GitHub organization
Access to Halyard
A Spinnaker deployment with DNS and SSL configured
Configure GitHub OAuth in GitHub
Login to GitHub and go to Settings > Developer Settings > OAuth Apps > New OAuth App
Make note of the Client ID / Client Secret
Homepage URL: This would be the URL of your Spinnaker service e.g. https://spinnaker.acme.com
Authorization callback URL: This is going to match your
--pre-established-redirect-uri
in halyard and the URL needs login appended to your gate endpoint. Example https://gate.spinnaker.acme.com/login or https://spinnaker.acme.com/gate/login
Configure GitHub OAuth in Spinnaker
Add the following snippet to your SpinnakerService
manifest under the spec.spinnakerConfig.config.security.authn
level:
Additional OAuth resources
Last updated