Support » Plugins and Hacks » "You cannot access this page directly." (session issue??)

"You cannot access this page directly." (session issue??)

  • when trying to authenticating I keep getting “You cannot access this page directly”. This seems to be a wordpress issue with hybridauth, as running hybridauth example files at the root of my wp install seems to work fine, but “inside” wordpress doesn’t seem to work.

    Some have suggested this is a session issue and i believe this is related as it is failing in endpoint.php and the authInit() method because there is no config key in my session.

    But i know that sessions are working correctly and it is writing some information to the session namely the ‘php_session_id’ and ‘version’ keys but not the ‘config’. There is something else in wordpress that is causing that key not to be set correctly.


    anyone have thoughts or can help??


Viewing 1 replies (of 1 total)
  • Plugin Author 3pillarlabs


    Hi balbert,

    Are you using this plugin with wordpress or just trying to get Hybridauth working as standalone library. This plugin works great with all configuration done from WordPress admin and you do not need to even take a look on session and other things.

    I would suggest to setup a new wordpress install, add this plugin to wordpress and test things. If this still doesn’t work for you, can you please send us some screenshot or URL where you are trying to set it up. We will be happy to assist.

Viewing 1 replies (of 1 total)
  • The topic ‘"You cannot access this page directly." (session issue??)’ is closed to new replies.