Nylas OAuth Error: Microsoft Callback Not Providing Authorization Code

GET /api/auth/nylas/init 200 in 25ms
=== OAuth Callback Received ===
Request URL: http://localhost:3000/api/oauth/exchange
Callback parameters: { hasCode: false, hasState: false, hasError: false }

I’m running into an issue with the Microsoft → Nylas OAuth flow.
During the callback step, instead of receiving an authorization code, the callback URL is returning nocode. This prevents the token exchange from completing.

Could you please help me understand why the code parameter is not being returned and what might be causing Microsoft to redirect with error=nocode? Any guidance on the correct configuration or required parameters for the Microsoft OAuth URL would be appreciated.

Hello. Our Support team has reached out to you via email to continue this investigation. Please check your mailbox for our message.