chore: add --force-reset-all flag to oidc link repair cli (#26534)

Useful when the issuer is unchanged, but oidc subject claims have
changed.
This commit is contained in:
Steven Masley
2026-06-23 11:37:33 -05:00
committed by GitHub
parent bdf0e417b1
commit 854d280834
7 changed files with 257 additions and 12 deletions
@@ -13,6 +13,10 @@ OPTIONS:
-n, --dry-run bool, $CODER_FIX_OIDC_LINKS_DRY_RUN
Print analysis only, do not modify the database.
--force-reset-all bool, $CODER_FIX_OIDC_LINKS_FORCE_RESET_ALL
Reset all OIDC linked IDs, not just those with a mismatched issuer.
Mutually exclusive with --issuer-url.
--issuer-url string, $CODER_OIDC_ISSUER_URL
The OIDC issuer URL. The canonical issuer is resolved via OIDC
discovery.