Passport Microsoft Versions Save

An Authentication strategy for passport.js that uses the Microsoft Graph API

v2.1.0

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/seanfisher/passport-microsoft/compare/v2.0.0...v2.1.0

v2.0.0

2 months ago

Added

  • The User Principal Name (UPN) is now added onto a custom profile field called userPrincipalName

Changed

  • [BREAKING] Treating the User Principal Name (UPN) as an email address is now opt-in functionality. To maintain existing behavior, set the addUPNAsEmail option to true when configuring the strategy.
  • The emails array in the user profile can now contain zero or multiple email addresses

Updates by @seanfisher in https://github.com/seanfisher/passport-microsoft/pull/37

Full Changelog: https://github.com/seanfisher/passport-microsoft/compare/v1.1.0...v2.0.0

v1.1.0

2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/seanfisher/passport-microsoft/compare/v1.0.0...v1.1.0

v1.0.0

2 years ago

The API/design is stable enough that this is marked as the 1.0.0 release.

Added

  • VS Code launch.json for example app
  • New prompt, login_hint, domain_hint, locale, and display authorization parameters (See #8 and #18), thanks to @rachaelsingleton
  • Support for a tenant configuration option (See #17)
  • Documentation updates:
    • README updates for configuration options
    • Changelog

Changed

  • Use npm instead of yarn for tracking dependencies
  • Upgraded dependencies of main library
  • Upgraded dependencies of example application, including from Express 3.x to 4.x

Security

v0.1.0

4 years ago

This update includes a fix to fall back to userPrincipalName if the mail field isn't returned from Microsoft. Thanks to @nhu for the fix.

Also updated the documentation to include the necessary scope field and updated the sample project so it works again.