Files
teleport/examples/resources/github.yaml
T
Steven Martin 47d5f236ef Use GitHub camelcase for UI, examples, and Messages (#23369)
* Use GitHub camelcase

* Update example github to camelcase

* Update references to GitHub as camelcase
2023-03-22 22:10:12 +00:00

23 lines
731 B
YAML

kind: github
version: v3
metadata:
name: github
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>/v1/webapi/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:
- logins:
- access
- editor
organization: <github-org>
team: <github-team>