modcomms/frontend
michael 5b9e824da9 Use OpenID scopes instead of custom API scopes
- Change frontend scopes from api://{client_id}/.default to
  openid, profile, email for simpler authentication
- Update backend token validation to expect ID token format:
  - Audience: client_id (not api://{client_id})
  - Issuer: v2.0 endpoint

This avoids requiring Application ID URI setup in Azure AD.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 10:50:02 -06:00
..
components Implement Microsoft MSAL SSO with PKCE flow 2025-12-16 08:43:30 -06:00
services Use OpenID scopes instead of custom API scopes 2025-12-18 10:50:02 -06:00
App.tsx Implement Microsoft MSAL SSO with PKCE flow 2025-12-16 08:43:30 -06:00
constants.ts initial commit 2025-12-12 09:03:17 -06:00
index.html initial commit 2025-12-12 09:03:17 -06:00
index.tsx Implement Microsoft MSAL SSO with PKCE flow 2025-12-16 08:43:30 -06:00
metadata.json initial commit 2025-12-12 09:03:17 -06:00
package-lock.json Fix React version mismatch with MSAL packages 2025-12-18 10:31:01 -06:00
package.json Fix React version mismatch with MSAL packages 2025-12-18 10:31:01 -06:00
README.md initial commit 2025-12-12 09:03:17 -06:00
tsconfig.json initial commit 2025-12-12 09:03:17 -06:00
types.ts initial commit 2025-12-12 09:03:17 -06:00
vite.config.ts initial commit 2025-12-12 09:03:17 -06:00

GHBanner

Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/drive/1vH-R-vj0Xkk_g2ZFdHtLxNc12sFTOl2L

Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev