s365b.setup¶
Setup wizard: connect a tenant with one device code sign-in.
See docs/planning/setup.md. The pieces:
devicecodegets a short-lived delegated token for a tenant administrator (no client secret, no refresh token kept).certsmakes the key pairs; private keys never leave the server.provisionuses the delegated token once to create or update the app registrations and grant their permissions.connectkeeps the wizard’s state in the database and stores the result.