Microsoft Entra ID Authentication Setup Required
Real-time Microsoft Entra ID single sign-on requires registered OAuth 2.0 credentials in your environment.
Production Configuration Standard
To complete the real-time Microsoft Entra ID identity integration, add the following variables to your environment configuration (
.env):# Microsoft Entra ID OAuth Credentials
MICROSOFT_OAUTH_CLIENT_ID=<YOUR_MICROSOFT_CLIENT_ID>
MICROSOFT_OAUTH_CLIENT_SECRET=<YOUR_MICROSOFT_CLIENT_SECRET>
MICROSOFT_OAUTH_TENANT_ID=common
Authorized Callback Redirect URI (Local Development):
Authorized Callback Redirect URI (Production):
Register this exact URL in your Microsoft Entra ID Developer Console under Authorized Redirect URIs.
Note: Microsoft Entra ID requires
http://localhost:8000/... (not 127.0.0.1) for local HTTP Web Redirect URIs.