Files
teleport/examples/resources/oidc-connector.yaml
T
Ben Arent a04b377663 Update Google Workspace and Okta Docs (#6267)
* Update GSuite and Okta Docs
* s/suite/workspace
* Remove use of admin to use editor
2021-04-05 15:45:08 -07:00

21 lines
653 B
YAML

#
# Example resource for an OIDC connector
# We recommend using OIDC for G Suite, Auth0 and Keycloak
#
kind: oidc
version: v2
metadata:
name: new_oidc_connector
spec:
redirect_url: "https://<cluster-url>/v1/webapi/oidc/callback"
client_id: <client id>
# 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 Google".
# Teleport will provide custom CSS for 'Google'.
display: Google
client_secret: <client secret>
issuer_url: https://<issuer-url>
scope: [<scope value>]
claims_to_roles:
- {claim: "hd", value: "example.com", roles: ["editor"]}