s365b.setup

Setup wizard: connect a tenant with one device code sign-in.

See docs/planning/setup.md. The pieces:

  • devicecode gets a short-lived delegated token for a tenant administrator (no client secret, no refresh token kept).

  • certs makes the key pairs; private keys never leave the server.

  • provision uses the delegated token once to create or update the app registrations and grant their permissions.

  • connect keeps the wizard’s state in the database and stores the result.

Submodules