info@ektanjali.com +91 99276-99286

CakePHP 2.x User Management Premium Plugin Version 2.1.x

Login/Registration

This plugin provides login and registration with-

  • Normal Login/Registration
  • Facebook Login/Registration
  • Twitter Login/Registration
  • Google Login/Registration
  • Yahoo Login/Registration
  • Linkedin Login/Registration
  • Foursquare Login/Registration

Please note- I have added common login element with ajax support in 2.1 version. You can use it
<?php echo $this->element('Usermgmt.login'); ?>


Let me describe one by one-

1. Normal Login/Registration
This is simple login and registration functionality as usual on the website.

  • User comes on the site fills the registration form.
  • Plugin sends email confirmation mail to user.
  • After confirmation user can login to the website.
  • Email verification can be optional by Admin. Admin can change the setting any time.


2. Facebook Login/Registration
I am doing following steps in Facebook authentication-

  • User clicks on Facebook Icon on Login/Registration page.
  • A pop up window opens and it redirects to Facebook Official website.
  • User authenticates your website on facebook.
  • After this plugin fetch the profile data from Facebook along with Email id.
  • Now Plugin finds the user with facebook id.
  • If not found then plugin finds the existing user having facebook email id.
  • If user found, Plugin associates facebook account with user's existing account.
  • Otherwise plugin registers automatically the user on your website.
  • Plugin also fetch the image from facebook and set it as profile image.
  • User gets login automatically.
  • First time user will be redirected to change password page.
  • You will need to create Facebook Application for App Id and Secret Code. For this please go through this article How to create Facebook Application for CakePHP 2.x User Management Plugin.


3. Twitter Login/Registration
I am doing following steps in Twitter authentication-

  • User clicks on Twitter Icon on Login/Registration page.
  • A pop up window opens and it redirects to Twitter Official website.
  • User authenticates your website on Twitter.
  • After this plugin fetch the profile data from Twitter. Twitter does not provide user's email id.
  • Now Plugin finds the user with Twitter id.
  • If user not found, plugin registers automatically the user on your website.
  • Plugin also fetch the image from Twitter and set it as profile image.
  • User gets login automatically.
  • First time user will be redirected to change password page.
  • Here plugin asks to enter email id.
  • If entered email id is already exist then Plugin ask to verify email id.
  • If user clicks on verify then plugin sends a verification code on that email id.
  • After entering the correct code plugin associates Twitter account with user's old account and deletes new created account.
  • Now user gets login automatically with old account.
  • You will need to create Twitter Application for Consumer Key and Consumer Secret. For this please go through this article How to create Twitter Application for CakePHP 2.x User Management Plugin.


4. Google(GMail) Login/Registration
I am doing following steps in Google authentication-

  • User clicks on Google Icon on Login/Registration page.
  • A pop up window opens and it redirects to Google Official website.
  • User authenticates your website on Google.
  • After this plugin fetch the profile data from Google along with Email id.
  • Now Plugin finds the user having Google email id.
  • If user not found, plugin registers automatically the user on your website.
  • User gets login automatically.
  • First time user will be redirected to change password page.


5. Yahoo Login/Registration
I am doing following steps in Yahoo authentication-

  • User clicks on Yahoo Icon on Login/Registration page.
  • A pop up window opens and it redirects to Yahoo Official website.
  • User authenticates your website on Yahoo.
  • After this plugin fetch the profile data from Yahoo along with Email id.
  • Now Plugin finds the user having Yahoo email id.
  • If user not found, plugin registers automatically the user on your website.
  • User gets login automatically.
  • First time user will be redirected to change password page.


6. Linkedin Login/Registration
I am doing following steps in Linkedin authentication-

  • User clicks on Linkedin Icon on Login/Registration page.
  • A pop up window opens and it redirects to Linkedin Official website.
  • User authenticates your website on Linkedin.
  • After this plugin fetch the profile data from Linkedin.
  • Now Plugin finds the user with Linkedin id.
  • If not found, plugin registers automatically the user on your website.
  • Plugin also fetch the image from Linkedin and set it as profile image.
  • User gets login automatically.
  • First time user will be redirected to change password page.
  • Here plugin asks to enter email id.
  • If entered email id is already exist then Plugin ask to verify email id.
  • If user clicks on verify then plugin sends a verification code on that email id.
  • After entering the correct code plugin associates Linkedin account with user's old account and deletes new created account.
  • Now user gets login automatically with old account.
  • You will need to create Linkedin Application for App Key and Secret Key. For this please go through this article How to create Linkedin Application for CakePHP 2.x User Management Plugin.


7. Foursquare Login/Registration
I am doing following steps in Foursquare authentication-

  • User clicks on Foursquare Icon on Login/Registration page.
  • A pop up window opens and it redirects to Foursquare Official website.
  • User authenticates your website on Foursquare.
  • After this plugin fetch the profile data from Foursquare along with Email id.
  • Now Plugin finds the existing user having Foursquare email id.
  • If user not found, plugin registers automatically the user on your website.
  • User gets login automatically.
  • First time user will be redirected to change password page.
  • You will need to create Foursquare Application for Client Id and Client Secret. For this please go through this article How to create Foursquare Application for CakePHP 2.x User Management Plugin.


Please note: If any user is deactivated by Admin then that user cannot login to site any way.