Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endpoint issue #1

Closed
b3457m0d3 opened this issue Apr 22, 2012 · 3 comments
Closed

endpoint issue #1

b3457m0d3 opened this issue Apr 22, 2012 · 3 comments
Assignees
Labels

Comments

@b3457m0d3
Copy link

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?

@ghost ghost assigned andacata Apr 22, 2012
@andacata
Copy link
Owner

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:

  • verify the "endpoint" function exists inside the HAuth controller class
  • verify the "base_url" in the /application/config/hybridauthlib.php file is "/hauth/endpoint"
  • set the "log_threshold" to "4" (all)
  • try to log in
  • inside the CodeIgniter logs you must find

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
Copy link
Author

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

@andacata
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants