Nylas Docs

The Nylas Developer Hub

Welcome to the Nylas developer hub. You'll find comprehensive guides and documentation to help you start working with Nylas as quickly as possible, as well as support if you get stuck. Let's jump right in!

Developer Guide

Workaround to force Microsoft login

If you're using our Hosted OAuth flow in your application to authenticate user accounts, sometimes a user might be redirected to the Google login page even if they have a Microsoft email. This can happen because their DNS MX records might point to a Google account. In order to allow the user to log in with the Microsoft provider, they can follow this guide to trick our hosted OAuth flow to show the correct login page.

  1. Enter test@microsoft.com as a fake email address to trick the form into thinking you’re logging into a Microsoft/Outlook account.
  2. Click Sign In.
  1. On the next screen, click “Advanced Settings”.

  2. Fill in your correct email and password settings.

  3. Enter your email address in the Exchange username box.

  4. Enter outlook.office.com as your Exchange Server.

Workaround to force Microsoft login


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.