News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Social Logins in PHP with HybridAuth
April 16, 2015 @ 11:54:14

The SitePoint PHP blog has posted a new tutorial showing you how to integrate the HybridAuth library into your application for easy logins via popular social sites like Facebook, Twitter or even Google+.

A trend in many of today's websites is a feature that allows users to sign in via their social network accounts. A classic example is the SitePoint community where users have the option to use their Facebook, Twitter, Google, Yahoo or GitHub account to log in without having to register an account. In this tutorial, we will be learning about HybridAuth - a PHP library that takes the pain out of building a social login feature. HybridAuth acts as an abstract API between your application and the various social APIs and identity providers.

They jump right into things, showing you how to install the library via Composer and configure it to work with a simple Slim-based application. They set up providers for Facebook, Twitter and Google+ and show how to call the "authenticate" method to make the connection. He then starts on the sample application, creating a login page and a database table for user tracking. The process continues showing how to connect the user from the social site to your setup and retrieve their profile information. All the code you'll need is here, including the Slim structure, the database connection setup and the needed templates. You can also find the finished product in this GitHub repository.

0 comments voice your opinion now!
social login tutorial hybridauth facebook twitter googleplus socialnetwork

Link: http://www.sitepoint.com/social-logins-php-hybridauth/

Project:
HybridAuth - Open Source Social-Sign-On Solution
August 18, 2011 @ 11:51:19

On Greepit.com there's a new post spotlighting a single handy library you can use in your PHP application to make authenticating with many of the popular social network providers simple - HybridAuth.

HybridAuth is an open source web-based authentication and authorisation solution that combines the strengths of several major social networks and Identity Providers services into one simple PHP Library. [...] This PHP Library for social services authentication supports many social platforms including Facebook, Twitter, Google, Yahoo, MySpace, LinkedIn, FourSquare, OpenID and many other Identity providers.

The library allows you to connect to the various services' authentication points in a standardized way. Supported providers include:

You can find out more about this library on its SourceForce project page.

0 comments voice your opinion now!
singlesignon hybridauth project library



Community Events

Don't see your event here?
Let us know!


example interview symfony2 performance version application extension library laravel composer php7 install introduction podcast community api release framework opinion series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework