PHPackages                             uzyn/cakephp-opauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. uzyn/cakephp-opauth

ArchivedCakephp-plugin[Authentication &amp; Authorization](/categories/authentication)

uzyn/cakephp-opauth
===================

Opauth plugin for CakePHP v2.x, allowing simple plug-n-play 3rd-party authentication with CakePHP

1.0.8(11y ago)129276.5k—0%59[14 issues](https://github.com/uzyn/cakephp-opauth/issues)[4 PRs](https://github.com/uzyn/cakephp-opauth/pulls)MITPHPPHP &gt;=5.2.0

Since Sep 8Pushed 7y ago20 watchersCompare

[ Source](https://github.com/uzyn/cakephp-opauth)[ Packagist](https://packagist.org/packages/uzyn/cakephp-opauth)[ Docs](http://opauth.org)[ RSS](/packages/uzyn-cakephp-opauth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (10)Used By (0)

CakePHP plugin for Opauth
=========================

[](#cakephp-plugin-for-opauth)

CakePHP 2.x plugin for [Opauth](https://github.com/uzyn/opauth).

Opauth is a multi-provider authentication framework.

Requirements
------------

[](#requirements)

CakePHP v2.x
Opauth &gt;= v0.2 *(submoduled with this package)*

Using [Composer](http://getcomposer.org/)?
------------------------------------------

[](#using-composer)

You can install CakePHP-Opauth plugin directly from Composer at [uzyn/cakephp-opauth](http://packagist.org/packages/uzyn/cakephp-opauth).
It works for Opauth strategies too!

View notes and Composer-enabled plugin code at [composer branch](https://github.com/uzyn/cakephp-opauth/tree/composer).

Tutorial &amp; sample app
-------------------------

[](#tutorial--sample-app)

Check out [CakePHP bakery](http://bakery.cakephp.org/articles/uzyn/2012/06/25/simple_3rd-party_provider_authentication_with_opauth_plugin) for tutorial and the [sample branch](https://github.com/uzyn/cakephp-opauth/tree/sample) for a quick sample app.

How to use
----------

[](#how-to-use)

1. Install this plugin for your CakePHP app.
    Assuming `APP` is the directory where your CakePHP app resides, it's usually `app/` from the base of CakePHP.

    ```
    cd APP/Plugin
    git clone git://github.com/uzyn/cakephp-opauth.git Opauth
    ```
2. Download Opauth library as a submodule.

    ```
    git submodule init
    git submodule update
    ```
3. Add this line to the bottom of your app's `Config/bootstrap.php`:

    ```
