Opauth integration to allow login and before first login registration to complete additional data
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Config/Migration
Controller
Model
Test
View/OpauthUsers
README.md
composer.json

README.md

OpauthUsers for CakePHP 2.x

Opauth integration to allow login and before first login registration to complete additional data.

Requirements

Opauth is not strictly required as this plugin is just dealing with the callback but it will work only with the callback from Opauth

Setup

Point your Opauth callback to the OpauthUsersController::opauth_complete() action or the controller extending it or route that your application is using.

The plugin by default comes only with two database fields, twitter_id and facebook_id. So if you want to use additional Opauth adapters you'll have to create more fields in the users table that match the provider name, lower cased and underscored, suffixed with _id.

The plugin also creates a field registration_completed that is used to check if the remote users finished the process.

Extend the OpauthUsersController and model with AppUsersController and AppUsersModel or whatever else you like and override methods as needed. Check the model methods to modify the data.

Support

For support and feature request, please visit the FileStorage issue page

https://github.com/burzum/CakePHP-OpauthUsers/issues

Contributions

Please send pull request to develop branch.

License

Copyright 2013, Florian Krämer

Licensed under The MIT License Redistributions of files must retain the above copyright notice.