forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oidcccl: generate JWT auth token for cluster SSO
Epic: CC-24814 A new branch is added to the OIDC login flow that, instead of logging the user in, renders a JWT from the resulting credentials in a new web UI, suitable for use with cluster SSO. This feature is configured by a few new cluster settings, all in the server.oidc_authentication.generate_cluster_sso_token namespace: - `.enabled` enables the feature. - `.use_token` selects whether to use the `id_token` or the `access_token` from the credentials. - `.sql_host` and `.sql_port` are used to render the resulting full connection string. (These are necessary because the cluster may be behind a load balancer.) For configuring cluster SSO and DB Console SSO, see: - https://www.cockroachlabs.com/docs/stable/sso-sql.html - https://www.cockroachlabs.com/docs/stable/sso-db-console.html Release note (enterprise change): New cluster settings in the server.oidc_authentication.generate_cluster_sso_token namespace support using OIDC to generate a JWT auth token for cluster SSO. Release justification: Customer commitment.
- Loading branch information
1 parent
b0ef999
commit 91291a5
Showing
20 changed files
with
679 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.