mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-01 16:03:55 +08:00
a04b377663
* Update GSuite and Okta Docs * s/suite/workspace * Remove use of admin to use editor
23 lines
731 B
YAML
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>
|