An Authentication strategy for passport.js that uses the Microsoft Graph API
Full Changelog: https://github.com/seanfisher/passport-microsoft/compare/v2.0.0...v2.1.0
userPrincipalName
addUPNAsEmail
option to true
when configuring the strategy.emails
array in the user profile can now contain zero or multiple email addressesUpdates 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
Full Changelog: https://github.com/seanfisher/passport-microsoft/compare/v1.0.0...v1.1.0
The API/design is stable enough that this is marked as the 1.0.0 release.
launch.json
for example appprompt
, login_hint
, domain_hint
, locale
, and display
authorization parameters (See #8 and #18), thanks to @rachaelsingleton
tenant
configuration option (See #17)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.