Skip to content

Instantly share code, notes, and snippets.

@jakubknejzlik
Created February 15, 2018 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakubknejzlik/dfd6586c686d0bccc61b1a8d5739539c to your computer and use it in GitHub Desktop.
Save jakubknejzlik/dfd6586c686d0bccc61b1a8d5739539c to your computer and use it in GitHub Desktop.
Kontena master configuration for gitlab oauth2 provider
{
"server.root_url": "http://master.example.com",
"oauth2.client_id": "...",
"oauth2.client_secret": "...",
"oauth2.authorize_endpoint": "https://git.example.com/oauth/authorize",
"oauth2.token_endpoint": "https://git.example.com/oauth/token",
"oauth2.userinfo_scope": "api",
"oauth2.userinfo_endpoint": "https://git.example.com/api/v4/user",
"oauth2.userinfo_user_id_jsonpath": "$..id"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment