passport-outlook

JSON →
library 3.0.0 ·javascript
verified Jun 7, 2026

Passport strategy for authenticating with Outlook.com (Windows Live) accounts using the Outlook REST API v2 and OAuth 2.0. Current stable version is 3.0.0, which drops support for Node <10. This package authenticates against the official Microsoft v2 endpoints, differentiating it from older modules that target v1 or outdated APIs. The strategy integrates with any Connect/Express-style middleware via Passport. It supports standard OAuth2 flows and Microsoft-specific options like prompt, login_hint, and domain_hint. The profile schema was normalized in v2.0.0 to follow the Passport profile convention, so existing users need to update property access (e.g., profile.DisplayName instead of profile.name).