Files
inbuxa-migrate/src/migrate
jcoffey-dev 74e8445529
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 3m31s
ci / announce (pull_request) Skipped
exchange-graph: app-only sign-in with --app-only
The app signs in as itself with its client secret (client credentials,
scope .default) and reads the mailbox --user names, so a whole tenant
moves in a plan with no one signing in. --app-only needs --user and a
real tenant, and reads $INBUXA_MIGRATE_CLIENT_SECRET or prompts. The
token has no refresh token; the refresher signs in again before it runs
out. Token requests share one retrying helper with refresh.

A plan's clientSecret now also sets INBUXA_MIGRATE_CLIENT_SECRET, so it
reaches Graph as well as EWS.
2026-10-30 14:28:33 -07:00
..