ADR 0011: Microsoft Graph OAuth and adapter

Status

Accepted

Context

Sprint 03 needs the first write-capable mailbox. Microsoft Graph is the documented first provider. Tokens must never reach the browser. SDK types must not leak out of the providers package.

Decision

Alternatives

Consequences

apps/web calls application handlers only. Preview and production stay 503 on the OAuth routes until MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET, MICROSOFT_REDIRECT_URI, and the existing database/token secrets are set per environment.