Skip to content

StrongBearCeo/meteor-accounts-onedrive

Repository files navigation

accounts-onedrive

OneDrive (Microsoft Account) OAuth2 login service for use with Meteor Auth

Package Dependencies

This login service depends on the bleeding edge changes within the Meteor Auth branch. Only compatable with Meteor > 0.9.2

  • oauth2
  • oauth
  • http

Usage

  1. meteor add accounts-onedrive
  2. Register the app on Microsoft Developers.
  3. Read the 'Meteor.loginWith<ExternalService>' section of the Meteor docs and make sure you set up your config and secret correctly.
  4. Call Meteor.loginWithOnedrive();

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)

Credits

  • Shamelessly based upon Google OAuth2 login service

License

MIT

About

OAuth flow for Microsoft OneDrive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published