July 13, 2016
WordPress powers more than 24% of the web a figure that rises every day. Everything from simple websites, to blogs, to complex portals and enterprise websites, and even applications, are built with WordPress. WordPress is an easy to use framework have simplicity for the users.
I am still exploring the features that WordPress can do. In WordPress there is a feature to add plugins that can increase the features of the WordPress.
In my project at ColoredCow I was asked to create some functionality that can Authenticate users via Google so that we can get access to the Admin Panel by our google ids of that company. Are you thinking that why a firm/company needs the google login system and not using the WordPress’s inbuilt login system.
What if we use a SSO(Single Sign on) system for the users. It is convenient to the users and employees to log in to the website admin panel. The idea behind this is to create an automation system for creating new users. A new Employee joined the Company he have the Google Id of that firm so he can get access to the Admin Panel. And there is no need create a new user manually. Like in WordPress Login System we have to go to the users and add a new user. Unlike in our system if you have Companies google id you can access the admin panel.
In the above discussion a new plugin comes up that is Role Defining plugin. If a new user is login and can access the Admin Panel what features he can access and what type of role is given to him. As the inbuilt roles in WordPress are not good enough for a company so we have to create a new plugin for just to define the roles.In these Plugins the main thing is that to provide the convenience to the user. So that they can get access to Admin Panel via their google IDs.
Above is a screenshot of my work on the Authentication Plugin. By this we can Sign in with Google.