Skip to content

Use the HybridAuth library to allow logins through various third party systems.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/hybridauth

Repository files navigation

HybridAuth for Backdrop

HybridAuth Social Login bundles the HybridAuth library (v3.7.1) and allows your Backdrop site users to login and register using:

  • Facebook
  • Twitter
  • LinkedIn
  • Google
  • Yahoo
  • Windows Live
  • Foursquare
  • AOL
  • OpenID
  • Github, LastFM, PayPal, Vimeo, Disqus, Instagram, Tumblr, Vkontakte, Mail.ru, Yandex, Odnoklassniki, Twitch.tv, Steam and more.

Advantages

  • Doesn't depend on any external service
  • Doesn't load any external CSS or JS files - blazingly fast widget rendering
  • Relies on third-party open source PHP library HybridAuth (provides communication with authentication providers; no need to support them in the module code) developed and supported on GitHub by broad community of contributors

Installation

Usage

After installation please go through the configuration settings and grant your users permission to use HybridAuth:

  • anonymous users - to login using HybridAuth widget
  • authenticated users - to add more HybridAuth identities to the account

HybridAuth library requires php-curl extension.

If you need additional providers support like Mail.ru - then you need to copy needed additional providers to the library and clear Backdrop caches. For instance, to get Mail.ru provider working you need to copy additional-providers/hybridauth-mailru/Providers/Mailru.php to hybridauth/Hybrid/Providers/Mailru.php, clear caches, and you are good to go. After that you just need to configure your application ID, private and secret keys at module configuration pages. See issue 3 for potential changes to this.

Recommended additions:

Other potential modules:

  • Rules - to map HybridAuth data to user profile fields and other great stuff. See the wiki for an example.
  • Real name - as it caches display names and improves performance of your site.

Issues

If you have an issue with any provider not working - please check provider documentation - just click on the provider name and read the instructions related to registering your application at the provider's site and configuring this application settings.

Bugs and Feature requests should be reported in the Issue Queue

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

The HybridAuth library itself has been released under the MIT license.