Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

#Single Sign-on Implementation


A basic implementation of a modern sign-in mechanism, supports logging in with:

  • Google Account via OpenID
  • Yahoo! Account via OpenID
  • Facebook via OAuth
  • Twitter via OAuth
  • Internal, old-school login/password combination

For more details please visit


  • PHP >= 5.2
  • MySQL Database with InnoDB engine


  • Place code in path served by your webserver

  • Enter valid configuration for the database access and the OAuth integration. Config files are located in the application/config directory.

  • Execute the following SQL to create required tables:

    CREATE TABLE users ( id int(10) unsigned NOT NULL auto_increment, name varchar(200) default NULL, email varchar(200) default NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8

    CREATE TABLE associations ( id int(10) unsigned NOT NULL auto_increment, user_id int(10) unsigned NOT NULL, openid varchar(255) default NULL, facebook varchar(255) default NULL, twitter varchar(255) default NULL, email varchar(255) default NULL, password varchar(32) default NULL, PRIMARY KEY (id), UNIQUE KEY openidassociations-unique-openid USING BTREE (openid), KEY openidassociations-users-userid USING BTREE (user_id), CONSTRAINT openidassociations_ibfk_1 FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8

##License This code is released under MIT License.

However the following items included in this repository are licensed differently:


A implementation of openid/oauth/old-school sign in window






No releases published


No packages published