mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 02:21:02 +08:00
* Update GSuite and Okta Docs * s/suite/workspace * Remove use of admin to use editor
21 lines
653 B
YAML
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"]}
|