Microsoft Entra SSO Integration
This is Site B of the PSU SSO proof-of-concept. Test the Microsoft Entra authentication flow and verify FPID continuity across sites.
Microsoft Graph API Example
Testing Instructions
Authentication Flow
- Click "Sign in with Microsoft" in the header
- Complete authentication on Microsoft's login page
- Verify you're redirected back with "LOGGED IN" status
- Test the "Fetch My Profile" button below
FPID Continuity
- Check FPID in DevTools → Application → Cookies
- Sign in with Microsoft
- Verify FPID remains the same in DevTools
- Test cross-site navigation maintains FPID
Technical Implementation
OAuth2 Flow
- Authorization Code + PKCE
- Single-Page Application platform
- LocalStorage for cross-tab persistence
- Silent token refresh
FPID Preservation
- Cookie scoped to .psu.edu domain
- SameSite=Lax for redirect compatibility
- State parameter carries FPID through SSO
- Cross-site continuity verification