hoodie-plugin-oauthio

1.0.30 • Public • Published

hoodie-plugin-oauthio

install https://oauth.io/docs/oauthd

configure the admin area of the plugin and

  var provider = 'facebook';
  hoodie.account.oauthio.signInWith(provider)
      .then(function () {
        console.log('signInWith: ok', arguments);
        //$ionicLoading.hide();
      })
      .fail(function () {
        //$ionicLoading.hide();
        console.log('signInWith: err', arguments);
      });
  

in html add the oauth lib

    <script src="lib/hoodie/dist/hoodie.js"></script>
    <script src="lib/oauth-js/dist/oauth.js"></script>
    <script src="lib/hoodie-plugin-oauthio/hoodie.oauthio.js"></script>

to get me information

    hoodie.account.oauthio.me

Dependents (0)

Package Sidebar

Install

npm i hoodie-plugin-oauthio

Weekly Downloads

0

Version

1.0.30

License

none

Last publish

Collaborators

  • gabrielmancini