Skip to main content
HomeReferenceCommand Lineservercoder server fix-oidc-links

coder server fix-oidc-links

On this page

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

Typebool

Bypass confirmation prompts.

--postgres-url

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

Typepassword|awsiamrds
Environment$CODER_PG_CONNECTION_AUTH
Defaultpassword

Type of auth to use when connecting to postgres.

--issuer-url

Typestring
Environment$CODER_OIDC_ISSUER_URL

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

-n, --dry-run

Typebool
Environment$CODER_FIX_OIDC_LINKS_DRY_RUN

Print analysis only, do not modify the database.

--force-reset-all

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.