Commit graph

4 commits

Author SHA1 Message Date
SamoilenkoVadym
60b9329da2 Fix MSAL initialization and interaction_in_progress error 2026-02-06 23:53:00 +00:00
SamoilenkoVadym
25c5d1ba11 Complete SPA OAuth flow - login button uses MSAL.js
- Login button now uses MSAL.js loginRedirect() for PKCE
- oauth_callback uses MSAL.js handleRedirectPromise() to complete token exchange
- PKCE flow is now entirely in browser (SPA compatible)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 23:50:23 +00:00
SamoilenkoVadym
1fb5072a19 Simplify OAuth callback with direct token exchange and debug output 2026-02-06 23:45:34 +00:00
SamoilenkoVadym
2e64ae9d15 Add SPA-compatible OAuth flow with MSAL.js
- Render oauth_callback.html with MSAL.js for browser token exchange
- Add /auth/token endpoint to receive token from JavaScript
- Token exchange happens in browser (cross-origin) for SPA compatibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 23:40:42 +00:00