kindgi sso
kindgi sso
Section titled “kindgi sso”Synopsis
kindgi sso <command>Sign-in with your organization's identity provider (single sign-on).
Commands
| Command | Description |
|---|---|
kindgi sso providers |
Your organization's identity providers (Google, Entra ID, Okta, Keycloak, SAML…). |
See also
kindgi sso providers
Section titled “kindgi sso providers”Synopsis
kindgi sso providers <command>Your organization's identity providers (Google, Entra ID, Okta, Keycloak, SAML…).
Commands
| Command | Description |
|---|---|
kindgi sso providers start |
Get the URLs to give your identity provider, before registering anything, and a message to send IT. |
kindgi sso providers finish |
Register the provider with what your identity provider gave back. |
kindgi sso providers update |
Change a provider; its URLs (on your identity provider's side) don't change. |
kindgi sso providers get |
Show one provider, with the URLs your identity provider has. |
kindgi sso providers list |
List this tenant's sign-in providers. |
kindgi sso providers test |
The link to try signing in with a provider, as a person at one of its domains. |
kindgi sso providers remove |
Stop signing in with a provider. |
See also
kindgi sso providers start
Section titled “kindgi sso providers start”Synopsis
kindgi sso providers start <provider-id> [--kind=oidc|saml] [--idp=google|entra|okta|keycloak]Get the URLs to give your identity provider, before registering anything, and a message to send IT.
Options
| Option | Default | Description |
|---|---|---|
--idp <value> |
none | Add the click-by-click steps for google, entra, okta or keycloak (OIDC). |
--kind <value> |
none: the --idp preset's kind if given, else the registered provider's own (required before it's registered) |
oidc (OpenID Connect) or saml. Needed until the provider is registered, unless --idp gives it; after that, the registered provider's kind. |
Every command also takes the global flags.
Examples
From Microsoft Entra ID:
npx --yes @kindgi/cli@0.1 sso providers start acme-entra --idp=entraFrom Google Workspace:
npx --yes @kindgi/cli@0.1 sso providers start acme-google --idp=googleSee also
kindgi sso providers finish
Section titled “kindgi sso providers finish”Synopsis
kindgi sso providers finish <provider-id> --domains=<d> (--kind=oidc --issuer=<url> --client-id=<id> --client-secret-ref=<NAME> | --kind=saml --idp-metadata=@<file>) [--name=<text>] [...]Register the provider with what your identity provider gave back.
Options
| Option | Default | Description |
|---|---|---|
--client-id <value> |
none | OIDC: the client ID. |
--client-secret-ref <value> |
none | OIDC: the NAME of the client secret in Kindgi's secret store (kindgi secrets set <NAME>), never the secret. |
--domains <value> |
required | An email domain whose people sign in with it (acme.com); repeatable or comma-separated. Repeatable. |
--idp-metadata <value> |
none | SAML: the identity provider's metadata XML, as @<file>. |
--issuer <value> |
none | OIDC: the issuer URL. |
--kind <value> |
required | oidc (OpenID Connect: Google, Entra ID, Okta, Keycloak…) or saml. |
--name <value> |
none | What the sign-in button says ("Sign in with …"). |
--sp-signing-key-ref <value> |
none | SAML: the NAME of the signing key, for identity providers that want signed requests. |
--spec <value> |
none | Any other provider fields, as inline JSON or @<file> (flags win). |
Every command also takes the global flags.
Examples
From Microsoft Entra ID:
npx --yes @kindgi/cli@0.1 sso providers finish acme-entra --kind=oidc \From Google Workspace:
npx --yes @kindgi/cli@0.1 sso providers finish acme-google --kind=oidc --issuer=https://accounts.google.com \See also
kindgi sso providers update
Section titled “kindgi sso providers update”Synopsis
kindgi sso providers update <provider-id> [--client-id=<id>] [--client-secret-ref=<NAME>] [--domains=<d>] [--name=<text>] [--remove=<field>] [...]Change a provider; its URLs (on your identity provider's side) don't change.
Options
| Option | Default | Description |
|---|---|---|
--client-id <value> |
none | OIDC: the client ID. |
--client-secret-ref <value> |
none | OIDC: the NAME of the client secret in Kindgi's secret store (kindgi secrets set <NAME>), never the secret. |
--domains <value> |
none | An email domain whose people sign in with it (acme.com); repeatable or comma-separated. Repeatable. |
--idp-metadata <value> |
none | SAML: the identity provider's metadata XML, as @<file>. |
--issuer <value> |
none | OIDC: the issuer URL. |
--kind <value> |
none | oidc (OpenID Connect: Google, Entra ID, Okta, Keycloak…) or saml. |
--name <value> |
none | What the sign-in button says ("Sign in with …"). |
--remove <value> |
none | An optional field to remove (e.g. displayName, domains); repeatable. Repeatable. |
--sp-signing-key-ref <value> |
none | SAML: the NAME of the signing key, for identity providers that want signed requests. |
--spec <value> |
none | Any other provider fields, as inline JSON or @<file> (flags win). |
Every command also takes the global flags.
Examples
Point a provider at a rotated client secret.
kindgi sso providers update acme-okta --client-secret-ref=ACME_OKTA_SECRET_V2Add a second sign-in domain and drop the display name.
kindgi sso providers update acme-okta --domains=acme.com,acme-ops.com --remove=displayNameSee also
kindgi sso providers get
Section titled “kindgi sso providers get”Synopsis
kindgi sso providers get <provider-id>Show one provider, with the URLs your identity provider has.
Options
Every command also takes the global flags.
Examples
Show a provider and the URLs to give your identity provider.
kindgi sso providers get acme-oktaSee also
kindgi sso providers list
Section titled “kindgi sso providers list”Synopsis
kindgi sso providers listList this tenant's sign-in providers.
Options
Every command also takes the global flags.
Examples
From Set up SSO:
npx --yes @kindgi/cli@0.1 sso providers list --tableSee also
kindgi sso providers test
Section titled “kindgi sso providers test”Synopsis
kindgi sso providers test <provider-id> [--email=<someone@your-domain>]The link to try signing in with a provider, as a person at one of its domains.
Options
| Option | Default | Description |
|---|---|---|
--email <value> |
someone@ the provider's first domain |
Whose sign-in to try; default: someone at the provider's first domain. |
Every command also takes the global flags.
Examples
From Set up SSO:
npx --yes @kindgi/cli@0.1 sso providers test acme-kcSee also
kindgi sso providers remove
Section titled “kindgi sso providers remove”Synopsis
kindgi sso providers remove <provider-id>Stop signing in with a provider. Registering the same id again gives it the same URLs, but nobody's earlier sign-in carries over.
Options
Every command also takes the global flags.
Examples
Stop signing in with a provider.
kindgi sso providers remove acme-oktaSee also