HybridAuth - CodeIgniter integration
Switch branches/tags
Nothing to show
Clone or download
andacata Merge pull request #40 from bryant1410/master
Fix broken headings in Markdown files
Latest commit ef052df Apr 18, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
application Upgrade HybridAuth to 2.1.2 Mar 19, 2013
README.md Fix broken Markdown headings Apr 17, 2017

README.md

HybridIgniter

A simple HybridAuth - CodeIgniter integration.

Versions

  • HybridAuth 2.1.2
  • CodeIgniter 2.1.3

Installation

  1. Drop the provided files into the CodeIgniter project
  2. Configure the providers inside the application/config/hybridauthlib.php file
  3. Modify the controller example supplied (application/controller/hauth.php) to fit your needs

How to use

The only thing you need is to put as many links as you need pointing to "http://<yourdomain>/index.php/hauth/login/<provider>", ex.:

<a href="http://www.example.com/index.php/hauth/login/Twitter">Log in with Twitter</a><br />
<a href="http://www.example.com/index.php/hauth/login/Facebook">Log in with Facebook</a><br />
<a href="http://www.example.com/index.php/hauth/login/LinkedIn">Log in with LinkedIn</a>

Also, you can visit "http://<yourdomain>/index.php/hauth" to see some examples.

If you need more complete examples, you can visit the Dovy's fork: https://github.com/dovy/HybridIgniter