Skip to content
OpenID / Facebook / Twitter login module for Kohana. Example at http://stuff.dan.cx/php/login/
PHP JavaScript
Find file
Latest commit 47635c3 @Daniel15 Merge pull request #5 from rootman/patch-2
Made actions in member controller work in kohana 3.2
Failed to load latest commit information.
classes
config Add license to all files.
css Add license to all files.
img Initial commit.
js Add license to all files.
messages Add license to all files.
views/member update 3.2 Kohana::$config->load()
README.md Updated README with properly formatted Markdown.
init.php Add license to all files.
schema.sql Add license to all files.

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.