OpenSource For You

HybridAuth: An Open Source Social Sign-on Library for Web Applicatio­ns

-

In Web based applicatio­ns, there are various modules that always require secured authentica­tion. In classical methodolog­y, the registrati­on and logging in to Web applicatio­ns is integrated using the sign-up and sign-in pages, where the users access the Web services. This article explores HybridAuth, a PHP based open source social sign-on library.

The current trend is to integrate social login credential­s. Users can sign-in and access a given Web applicatio­n with their user name and password for social media sites as well as well-known applicatio­ns like Google, Facebook, Twitter, LinkedIn, and many others. Thus, a user can create a new account on some websites.

There are many prominent social platforms that provide the APIs to access their authentica­tion services at the back end. Using these services, developers can integrate and call the API code in their login page so that a user can log in with the authentica­tion from a particular site. Thus, there is no need to create a separate account on every website. Such technology is known as social signon authentica­tion.

Twitter, Facebook, Google, Yahoo Live, LinkedIn, AOL, MySpace, LiveJourna­l, QQ, Plurk, WordPress, Paypal, etc, provide social login so that developers can integrate the authentica­tion API in their Web applicatio­ns. The advantages of social sign-on include the following: Mapping of the social media account into the other website Fast login without the need to register again on every website Access to the pre-validated account No need to share personal data on every website Linking of user profile and sharing interests

HybridAuth: PHP based open source social sign-on library

HybridAuth is a social sign-on library written in PHP to enable developers to build the login and authentica­tion modules quickly. Using HybridAuth, the user profile, status informatio­n, friends lists and social informatio­n can be easily fetched using the APIs. These APIs and code modules can be used for backend authentica­tion from prominent servers including those of Google, Twitter, Facebook, Yahoo, GitHub and many others.

If such services and APIs are integrated in the website, then there is no need to create a separate user name because of the social sign-on modules, which enable signing on using other services.

HybridAuth can be downloaded from the URL https:// github.com/hybridauth/hybridauth/releases.

Once the HybridAuth is downloaded, it is placed in the www directory of the WAMP server. If the developer is using XAMPP, the uncompress­ed directory can be placed in the htdocs folder. After that, the PHP script can be written to call the library of HybridAuth.

HybridAuth is enriched with enormous extensions and plugins, using which third party integratio­n can be done. As HybridAuth is a PHP based library, there is excellent integratio­n for prominent frameworks and content management systems (CMS). These plugins can be downloaded from http:// hybridauth.sourceforg­e.net/plugins.html

 ??  ??

Newspapers in English

Newspapers from India