phpcodeigniterauthenticationhybridauth

Working with hybrid auth and codeigniter


I am trying to build a project using CodeIgniter and for sign up purposes, I am using Hybrid Auth library. I am using a link similar to "http://localhost/project/hauth/endpoint?hauth.done=Google" as my redirect URI for facebook and google.

app is working fine with it. But the problem is I can't understand what this "hauth.done" means.
As soon as I allow the permission, it redirects me to the above provided link where I don't know how to receive data/userprofile information.


Solution

  • Here is updated library which works with the latest HybridAuth (v2.10) and CodeIgniter (v3.x)

    https://github.com/ApacheEx/CodeIgniter-HybridAuth

    hauth.done uses for finishing authorization via Hybrid_Endpoint::process(); which calls processAuthDone to save all needed tokens for later API requests.