So the way gigya works is when logging in Gigya's server handles the
authentication and saves a local UUID for that person, Upon a
successful gigya login, gigya will send the user as a _GET request
back to the url you choose. It is then up to you how to handle
that. The plugin will take in that user, and depending on some
factors decides what to do with that user before logging them in to
your local system. I've written a flow chart to show you the
decisions it makes based on various factors. Every section of the
flowchart is overwritable by creating the callback specified in the
documentation. If you return a valid user_id that will pass a basic
boolean check you will shortcut certain parts or all of the plugin
login process. As such, you have as much or as little control as
you'd like.
Here is the flow chart. http://www.webtechnick.com/img/gigya_flow_chart_final.jpg
There isn't a whole lot of usage examples and I'll find some time to
work on that, but the plugin is less of a full featured automation
tool than a really convienent tool to interface with your Gigya
account. I highly suggest reading through the Gigya documentation as
anything you can do with Gigya I've provided an easy interface to do
the "CakePHP" way.
I hope that helps,
Nick
On Sep 23, 9:41 am, Foroct <forrestfraz...@gmail.com> wrote:
> Moxby,
>
> That is what I thought too but it isn't working. I am wondering if
> after the plugin verifies a user from a social site and returns the
> user to my site do I then need to add some sort of function to have
> the plugin check if the user is in the table then either run the
> gigyaCreateUser function or the linkAccount function.
>
> The instructions on setup were pretty solid but the usage info is
> lacking.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment