andacata / HybridIgniter

HybridAuth - CodeIgniter integration
139 stars 84 forks source link

endpoint issue #1

Closed b3457m0d3 closed 12 years ago

b3457m0d3 commented 12 years ago

i have installed the hybridigniter files to my server, changed all the necessary settings, and when i click the link to authenticate the provider, it takes me to the endpoint with the querystring "?hauth.start=[provider]&hauth.time=1335053295" tacked to the url, but the authentication stops short there... is there something i'm missing? where do i go from here?

andacata commented 12 years ago

This is probably caused because CodeIgniter is unable to find the endpoint. If you search at the CodeIgniter log, you will find this error:

ERROR - 2012-04-22 11:27:04 --> 404 Page Not Found --> hauth/endpoint

You can follow this steps:

DEBUG - 2012-04-22 11:35:41 --> controllers.HAuth.endpoint called. INFO - 2012-04-22 11:35:41 --> controllers.HAuth.endpoint: $_REQUEST: Array ( [hauth_start] => <provider> [hauth_time] => 1335087341 [PHPSESSID] => b3tp57f2g53jhsl2p92t77to64 )

DEBUG - 2012-04-22 11:35:41 --> controllers.HAuth.endpoint: the request method is GET, copying REQUEST array into GET array. DEBUG - 2012-04-22 11:35:41 --> controllers.HAuth.endpoint: loading the original HybridAuth endpoint script.

If the result is not the same, please, send me the relevant part from the CodeIgniter and HybridAuth config and logs.

Best regards.

b3457m0d3 commented 12 years ago

thank you so much for the in depth response! you're a lifesaver.

andacata commented 12 years ago

You're welcome. Let me know if this helps you with the problem.