Magic Logix BlogSubscribe to our RSS feed

Gigya Social Login and Yii Authentication — userIdentity & authenticateSocial()

As we’ve already stepped through using the userIdentity Component in Yii durring many of the preceding posts, we will use a custom method for this social login project, authenticateSocial(). As Yii uses the userIdentity component for all the authentication logic …

Read more

Tags:, , , , , , , , ,

Gigya Social Login and Yii Authentication — the social Login Action

Let me state at the outset that there is no default social login action included in the Yii userIdentity, and this guide does not represent the only conceivable way to do this with Yii framework. The way that seemed best …

Read more

Tags:, , , , , , , , ,

Gigya Social Login and Yii Authentication — Social Login

Now comes the fun part. The ability to login socially is limited by what Gigya offers. So, a little explanation about what Gigya allows and requires. Also, what variables we will need to send to Gigya and what variables we …

Read more

Tags:, , , , , , , , ,

Gigya Social Login with Yii Framework Authentication — Gigya Set Up

To save a bit of time for you, I want go through basics of setting up the Gigya API for social login. It is not hard.

You get a domain key from Gigya, then install a javascript-based widget on the

Read more

Tags:, , , , , , , , ,

Gigya Social Login with Yii Framework Authentication — Gigya Users and Our Users (the basics)

The first thing to realize when coding an application that will use the Gigya web service (or any web service) is that we have to engineer our apps to be flexible to deal with any changes that could happen. Web …

Read more

Tags:, , , , , , , , ,

Gigya Social Login and Yii Authentication — UserIdentity Component

The way in which I set up the authentication system does not stray far from many of the concerns of the UserIdentity module in the official Yii framework documentation. I have (for now) unsalted our user accounts, leaving a one-hash …

Read more

Tags:, , , , , , , , ,

Custom and Secure Authentication with Yii Framework – Part5

Final Thoughts Concerning Security of Our Yii Apps

I know there are developers busting out of their cargo pants and skinny jeans at my proposition of not salting the password process. My opinion is that the constraints of the application …

Read more

Tags:, , , , , , , , ,

Custom and Secure Authentication with Yii Framework – Part4

Manually Editing Data Models and Yii Components

Open model/User.php and find the rules() method. This function runs a validation on our user input, once again another impressive security feature of “sanitizing data” that Yii handles for us automatically. By default, …

Read more

Tags:, , , , , , , , ,

Custom and Secure Authentication with Yii Framework – Part3

Building the Create Action View and Logic for Custom Authentication in Yii

Yii has given us everything we need with the blog demo to build a extremely secure authentication system, provided we use all of it. This is the beauty …

Read more

Tags:, , , , , , , , ,

Custom and Secure Authentication with Yii Framework – Part2

Using Yii’s Inherent Security
By perusing the blog demo that ships with a standard Yii 1.1 install, one will see that the authentication system takes those best practices a step further. To extend our fortress analogy a bit further, the …

Read more

Tags:, , , , , , , , ,

Older Posts »