O'Reilly logo

Yii Project Blueprints by Charles R. Portwood II

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Social authentication with HybridAuth

In the previous chapter, Chapter 5, Creating a Microblogging Platform, we used HybridAuth to sign in as a user to, and share content with, Twitter. In this chapter, we use HybridAuth to register accounts in our CMS and to sign in to our CMS without having to enter a username and password. To achieve this, we'll create three new forms, a new UserIdentity class, and a control that will enable us to take advantage of all the providers that HybridAuth has to offer.

Before we get started with any coding, however, we need to first create a new Twitter application similar to the one we created in Chapter 5, Creating a Microblogging Platform. This will allow us to focus on development rather than configuration once ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required