Skip to content

Instantly share code, notes, and snippets.

@fjudith
Last active November 9, 2019 18:49
Show Gist options
  • Save fjudith/c284092101780cda1c4b9612972570d9 to your computer and use it in GitHub Desktop.
Save fjudith/c284092101780cda1c4b9612972570d9 to your computer and use it in GitHub Desktop.
Concourse with Keycloak oauth

https://concourse-ci.org/generic-oauth.html

CONCOURSE_OAUTH_DISPLAY_NAME=oauth
CONCOURSE_OAUTH_CLIENT_ID=concourse
CONCOURSE_OAUTH_CLIENT_SECRET: <keycloak client secret>
CONCOURSE_OAUTH_AUTH_URL=https://keycloak.example.com/auth/realms/<realm name>/protocol/openid-connect/auth
CONCOURSE_OAUTH_TOKEN_URL=https://keycloak.example.com/auth/realms/<realm name>/protocol/openid-connect/token
CONCOURSE_OAUTH_USERINFO_URL=https://keycloak.example.com/auth/realms/<realm name>/protocol/openid-connect/userinfo

CONCOURSE_MAIN_TEAM_OAUTH_USER=admin
CONCOURSE_MAIN_TEAM_OAUTH_GROUP=concourse-admins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment