Skip to content
Skip to Content
Coder Docs

coder server fix-oidc-links

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

On this page

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

Usage

Usage
coder server fix-oidc-links [flags]

Options

Options

-y, --yes

-y, --yes
PropertyValue
Typebool

Bypass confirmation prompts.

--postgres-url

--postgres-url
PropertyValue
Typestring
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

--postgres-connection-auth
PropertyValue
Typepassword|awsiamrds
Environment$CODER_PG_CONNECTION_AUTH
Defaultpassword

Type of auth to use when connecting to postgres.

--issuer-url

--issuer-url
PropertyValue
Typestring
Environment$CODER_OIDC_ISSUER_URL

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

-n, --dry-run

-n, --dry-run
PropertyValue
Typebool
Environment$CODER_FIX_OIDC_LINKS_DRY_RUN

Print analysis only, do not modify the database.

--force-reset-all

--force-reset-all
PropertyValue
Typebool
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.