yiiauth Module to allow users to login via facebook,twitter openid and 26 others

  1. Requirements
  2. Usage
  3. Resources

Yiiauth is created to make use of Hybridauth inside yii apps.

Hybridauth is a library that makes working with auth api's from diffrent providers alot easier. With the addon it currently has support for 29 diffrent providers:

OpenID
Google
Facebook
Twitter
Yahoo
MySpace
Windows Live
LinkedIn
Foursquare
AOL

For full addon pack with more providers see: http://hybridauth.sourceforge.net/userguide.html

Requirements

Developed in Yii 1.1.10 but probably it works just as great in older versions.

Usage

Instructions: Please, see the

  • Forum thread For updated info / instructions,made major change to the module.

To try out on your site there is a loginwidget that can be used simply like this:

<?php $this->widget('LoginWidget');?>

You can also just domain.com/yiiauth/ to test.

What you will se when you have authenticated is a var_dump of the data returned from the provider.

With this data u can check if there is a user in your database assigned to that provider and with that unique id. else you should create a new user on your page, saving the provider and unique id for next login.

Please report bugs, Update! Now on github, feel free to commit improvements

Resources

*GIT HUB

18 3
55 followers
0 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Auth
Developed by: Sampa
Created on: Jun 11, 2012
Last updated: 12 years ago

Related Extensions