Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OpenID / Facebook / Twitter login module for Kohana. Example at http://stuff.dan.cx/php/login/
PHP JavaScript
branch: master

This branch is 6 commits behind Daniel15:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
classes
config
css
img
js
messages
views/member
README.md
init.php
schema.sql

README.md

Kohana-Membership

By Daniel15

This is a Kohana module that lets you log via OpenID, Twitter or Facebook. It includes a UI for logging in and connecting multiple identities to the one account.

Installation

  1. Copy css, img and js directories to /css/membership/, /img/membership/ and /js/membership/. You can use symlinks instead
  2. Create application/config/membership.php with the following:

    <?php defined('SYSPATH') or die('No direct access allowed.');
    
    return array(
        'providers' => array(
            'facebook' => array(
                'client_id' => 'TODO',
                'client_secret' => 'TODO',
            ),
            'myopenid' => array(
                'affiliate_id' => TODO,
            ),
            'twitter' => array(
                'key' => 'TODO',
                'secret' => 'TODO',
            ),
        ),
    );
    

(TODO: Document these settings)

License

Licensed under the GNU GPL version 3.

Kohana-Membership is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Kohana-Membership is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Something went wrong with that request. Please try again.