Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 925
Julian Moreno Avatar asked Dec 21 '22 05:12

Julian Moreno


1 Answers

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.

like image 54
Rohit Chemburkar Avatar answered Jan 15 '23 13:01

Rohit Chemburkar