andacata / HybridIgniter

HybridAuth - CodeIgniter integration
139 stars 82 forks source link

404 not found and "This provider is not enabled (facebook)" in log #32

Closed nathan815 closed 10 years ago

nathan815 commented 10 years ago

When I go to /hauth/login/facebook I keep getting a 404 error. Upon inspecting CodeIgniter log file, I see it is because HybridAuth thinks the provider is not enabled. However, that is not the case, as I have enabled Facebook in application/config/hybridauthlib.php.

Here are the log messages that pertain to HybridAuth:

DEBUG - 2014-08-21 00:30:49 --> controllers.HAuth.login(facebook) called
DEBUG - 2014-08-21 00:30:49 --> controllers.HAuth.login: loading HybridAuthLib
DEBUG - 2014-08-21 00:30:49 --> HybridAuthLib Class Initalized
ERROR - 2014-08-21 00:30:49 --> controllers.HAuth.login: This provider is not enabled (facebook)
ERROR - 2014-08-21 00:30:49 --> 404 Page Not Found --> /alphasquare/hauth/login/facebook

Does anyone know what could be causing this and how to fix it?

Thanks!

nathan815 commented 10 years ago

I discovered the issue was that I had "facebook" instead of "Facebook" in the URL (case sensitive).