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

  1. balbert
    Posted 3 years ago #

    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??


  2. 3pillarlabs
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Socialauth-WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.