webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

Integrate plugin with custom user management mechanism #148

Open ghost opened 10 years ago

ghost commented 10 years ago

Hi, as we are not using the Auth mechanism of CakePHP, could you plz assist me on which changes are required to the plugin so that it works with custom mechanism? The custom mechanism all it does is uses a table called members and a controller is handling the Session.

Thanks Vagelis

jsergiu commented 10 years ago

Hi I'm new here but here is my opinion. Since the entire plugin is based on Auth I think would require many changes to add support for custom user management. Suggestion 1: Rename you table 'users' and rewrite the login system with Auth Suggestion 2: Create a copy of the table members and rename it to users and make model that synchronize both tables when a new user registers.

I think the whole point of using CakePHP is to take advantage of its features.