Files
coder/docs/reference/cli/server_fix-oidc-links.md
T
Steven Masley 854d280834 chore: add --force-reset-all flag to oidc link repair cli (#26534)
Useful when the issuer is unchanged, but oidc subject claims have
changed.
2026-06-23 11:37:33 -05:00

2.1 KiB
Generated

server fix-oidc-links

Reset OIDC linked IDs that do not match the expected issuer, allowing users to re-authenticate.

Usage

coder server fix-oidc-links [flags]

Options

-y, --yes

Type bool

Bypass confirmation prompts.

--postgres-url

Type string
Environment $CODER_PG_CONNECTION_URL

URL of a PostgreSQL database. If empty, the built-in PostgreSQL deployment will be used (Coder must not be already running in this case).

--postgres-connection-auth

Type password|awsiamrds
Environment $CODER_PG_CONNECTION_AUTH
Default password

Type of auth to use when connecting to postgres.

--issuer-url

Type string
Environment $CODER_OIDC_ISSUER_URL

The OIDC issuer URL. The canonical issuer is resolved via OIDC discovery.

-n, --dry-run

Type bool
Environment $CODER_FIX_OIDC_LINKS_DRY_RUN

Print analysis only, do not modify the database.

--force-reset-all

Type bool
Environment $CODER_FIX_OIDC_LINKS_FORCE_RESET_ALL

Reset all OIDC linked IDs, not just those with a mismatched issuer. Mutually exclusive with --issuer-url.