mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
2.1 KiB
Generated
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.