Accounts Microsoft meteor package
A login service for Microsoft accounts
Getting started
Add the package to meteor
meteor add q42:accounts-microsoft
Basic usage
The usage is pretty much the same as all other account packages for meteor. It's inspired by the official Accounts Google meteor package. It goes a little bit something like this:
Meteor.loginWithMicrosoft({ requestOfflineToken: true, // Permission scopes are found here: https://msdn.microsoft.com/en-us/library/hh243648.aspx requestPermissions: ['wl.basic'] }, function(error) { if (error) { console.error('Login failed:', error.reason || error); } else { console.log('Logged in!'); } });