Add Microsoft SSO + system-level LLM key fallback

↗ view on GitHub · andrew · 2026-05-05 · 97c30c22

- Replace email/password login with Microsoft Entra OAuth (single-tenant).
  Adds /auth/callback page for the OAuth code exchange. Removes /signup
  since users are now provisioned via Entra.
- Add /system/llm-providers backend endpoint (auth-required) that reports
  whether ANTHROPIC_API_KEY / GEMINI_API_KEY are set in the env. Frontend
  reads it once on auth and threads through isModelAvailable() so users
  without personal keys can use any model the system has configured.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository easterbrooka/mike
Author andrew <andrew@wrmk.co.nz>
Authored
Parents cc5ebc97
Stats 12 files changed , +176 , -384
Part of Microsoft Entra SSO and system-level LLM key fallback

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-97c30c22.md from inside the repo you want the change in.

⬇ Download capture-commit-97c30c22.md