{"action":"created","issue":{"url":"https://api.github.com/repos/hybridauth/hybridauth/issues/336","repository_url":"https://api.github.com/repos/hybridauth/hybridauth","labels_url":"https://api.github.com/repos/hybridauth/hybridauth/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/hybridauth/hybridauth/issues/336/comments","events_url":"https://api.github.com/repos/hybridauth/hybridauth/issues/336/events","html_url":"https://github.com/hybridauth/hybridauth/issues/336","id":47512478,"number":336,"title":"You cannot access this page directly","user":{"login":"Andradez","id":3344875,"avatar_url":"https://avatars.githubusercontent.com/u/3344875?v=3","gravatar_id":"","url":"https://api.github.com/users/Andradez","html_url":"https://github.com/Andradez","followers_url":"https://api.github.com/users/Andradez/followers","following_url":"https://api.github.com/users/Andradez/following{/other_user}","gists_url":"https://api.github.com/users/Andradez/gists{/gist_id}","starred_url":"https://api.github.com/users/Andradez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andradez/subscriptions","organizations_url":"https://api.github.com/users/Andradez/orgs","repos_url":"https://api.github.com/users/Andradez/repos","events_url":"https://api.github.com/users/Andradez/events{/privacy}","received_events_url":"https://api.github.com/users/Andradez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2014-11-01T18:10:02Z","updated_at":"2016-08-02T09:36:09Z","closed_at":null,"body":"Hello, i am trying to access Hybridauth with curl but it gives the error:\r\n\"You cannot access this page directly\".\r\nI make a Ajax request to a \"php\" page on my site and that page connects with  hybridauth via curl.\r\nwhen i access the page directly, it works well but when i try to access it with Ajax, the curl response in my php page shows: \"You cannot access this page directly\".\r\nI believe it has something to do with : $_SESSION[\"HA::STORE\"] that is set  internally inside hybridauth.\r\nDoes  anyone know how to allow \"ajax and then curl\" access to hybridauth?"},"comment":{"url":"https://api.github.com/repos/hybridauth/hybridauth/issues/comments/236854137","html_url":"https://github.com/hybridauth/hybridauth/issues/336#issuecomment-236854137","issue_url":"https://api.github.com/repos/hybridauth/hybridauth/issues/336","id":236854137,"user":{"login":"manifsp","id":7723531,"avatar_url":"https://avatars.githubusercontent.com/u/7723531?v=3","gravatar_id":"","url":"https://api.github.com/users/manifsp","html_url":"https://github.com/manifsp","followers_url":"https://api.github.com/users/manifsp/followers","following_url":"https://api.github.com/users/manifsp/following{/other_user}","gists_url":"https://api.github.com/users/manifsp/gists{/gist_id}","starred_url":"https://api.github.com/users/manifsp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manifsp/subscriptions","organizations_url":"https://api.github.com/users/manifsp/orgs","repos_url":"https://api.github.com/users/manifsp/repos","events_url":"https://api.github.com/users/manifsp/events{/privacy}","received_events_url":"https://api.github.com/users/manifsp/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T09:36:09Z","updated_at":"2016-08-02T09:36:09Z","body":"\r\n\r\nHi to All,\r\n\r\nWe have implemented the hybridauth in our cakephp 3.0 web app. As usual we created FB App and configured with our site. Its working well on local and development environment. But we faced issue on our Production environment. We stuck with the below URL, application doesn't redirect to FB\r\n\r\nhttps://www.mydomin.com/home/socialch?hauth.start=Facebook&hauth.time=1470129476\r\n\r\nWhen the user login with facebook getting error like this..\r\n\r\nhttp://i.imgur.com/g2uuKyv.png\r\n\r\nPlease guide us to resolved this issue. Actually more than 50-60 usres login with FB in our site. But still now its not working on PROD environment. Thanks in advance..!"}}
{"actor":{"display_login":"manifsp"}}