mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
* Update all connector YAML configs * User <cluster-url> as standard * Leverage markdown_include.include * Include screenshots for Buttons based on Display.
21 lines
738 B
YAML
21 lines
738 B
YAML
kind: github
|
|
version: v3
|
|
metadata:
|
|
name: new_github_connector
|
|
spec:
|
|
# Github OAuth app client ID
|
|
client_id: <client-id>
|
|
# Github OAuth app client secret
|
|
client_secret: <client-secret>
|
|
# Github will make a callback to this URL after successful authentication
|
|
# cluster-url is the address the cluster UI is reachable at
|
|
redirect_url: "https://<cluster-url>/portalapi/v1/github/callback"
|
|
# connector display name that will be appended to the title of "Login with"
|
|
# button on the cluster login screen so it will say "Login with Github"
|
|
display: Github
|
|
# mapping of Github team memberships to Teleport cluster roles
|
|
teams_to_logins:
|
|
- organization: <github-org>
|
|
team: admins
|
|
logins:
|
|
- "admin" |