facebook-graph-apihybridauthprovider

Hybrid Auth - "This page cannot be accessed directly" error


Talking about Hybid Auth, I'm using Facebook to login the users, but I don't know what did I modify in the code that is causing the system to show the "Sorry, This page cannot be accessed directly" message.

I see it's related with the $_SESSION["HA::CONFIG"] variable when the system is checking if Hybrid_Auth session already exist in the file hybridauth/hybridauth/index.php

Could you let me know how can I fix this?


Solution

  • I'm using HybridAuth 2.0.11 Installer While you are installing Hybrid Auth via the /hybridauth/install.php ensure that the HybridAuth Endpoint URL contains the url in the format http://domain.com & not http://www.domain.com or some other subdomain Also verify that the you have the same format of the url mentioned in your facebook twitter linkedin developer accounts.