T13.7: dry run for the Okta sync, OKTA_SYNC_DRY_RUN (D22)

This commit is contained in:
2026-10-16 14:53:05 -07:00
parent 2d4e96d668
commit bcef0e8145
7 changed files with 243 additions and 12 deletions

View File

@@ -84,6 +84,12 @@ OKTA_REDIRECT_URI=CHANGE_ME
# once a minute and one of them wins each cycle, so raising the worker count does
# not raise the call rate to Okta.
# OKTA_SYNC_INTERVAL_SECONDS=900
#
# Dry run (D22). Set to true for the first deploy. The sync then does everything
# except the change: it logs who it WOULD disable and writes nothing, and it writes
# no audit rows. Read the result with: docker compose logs api | grep "Okta sync"
# Remove it (or set it to false) to go live. Off by default.
# OKTA_SYNC_DRY_RUN=true
# ── Email notifications (optional) ─────────────────────────────────────────────
# WP-assignment emails are OFF by default and are turned on from the Admin