Microsoft Account OAuth2 login service for use with Meteor Auth
This login service depends on the bleeding edge changes within the Meteor Auth branch. Only compatable with Meteor > 0.9.2
- oauth2
- oauth
- http
meteor add clarktlaugh:accounts-microsoft
- Register the app on Microsoft Developers.
- Read the 'Meteor.loginWith<ExternalService>' section of the Meteor docs and make sure you set up your config and secret correctly.
- Call
Meteor.loginWithMicrosoft();
Due to Microsofts strict policies on authentication redirects, this app can not be tested on localhost. The redirect url must be set to a real domain. One workaround is to edit the host file on your machine to make localhost look like a real domain (localhostsite.com/mysite)
- Forked from https://github.com/maxkferg/meteor-accounts-onedrive, which was based upon Google OAuth2 login service. The primary changes to far are to update the naming (OneDrive -> Microsoft).
MIT