{"action":"created","issue":{"url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/116","repository_url":"https://api.github.com/repos/SmItH197/SteamAuthentication","labels_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/116/comments","events_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/116/events","html_url":"https://github.com/SmItH197/SteamAuthentication/pull/116","id":136838604,"number":116,"title":"Readability & Example Redirect back to refering page","user":{"login":"RedSparr0w","id":7288322,"avatar_url":"https://avatars.githubusercontent.com/u/7288322?v=3","gravatar_id":"","url":"https://api.github.com/users/RedSparr0w","html_url":"https://github.com/RedSparr0w","followers_url":"https://api.github.com/users/RedSparr0w/followers","following_url":"https://api.github.com/users/RedSparr0w/following{/other_user}","gists_url":"https://api.github.com/users/RedSparr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/RedSparr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedSparr0w/subscriptions","organizations_url":"https://api.github.com/users/RedSparr0w/orgs","repos_url":"https://api.github.com/users/RedSparr0w/repos","events_url":"https://api.github.com/users/RedSparr0w/events{/privacy}","received_events_url":"https://api.github.com/users/RedSparr0w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T22:59:42Z","updated_at":"2016-02-27T21:08:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SmItH197/SteamAuthentication/pulls/116","html_url":"https://github.com/SmItH197/SteamAuthentication/pull/116","diff_url":"https://github.com/SmItH197/SteamAuthentication/pull/116.diff","patch_url":"https://github.com/SmItH197/SteamAuthentication/pull/116.patch"},"body":"made demo.php file a bit tidier and easier to read\r\n\r\nAlso added check for `!isset($_GET['login'])` as to avoid having to refresh on login"},"comment":{"url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/comments/189726309","html_url":"https://github.com/SmItH197/SteamAuthentication/pull/116#issuecomment-189726309","issue_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/116","id":189726309,"user":{"login":"RedSparr0w","id":7288322,"avatar_url":"https://avatars.githubusercontent.com/u/7288322?v=3","gravatar_id":"","url":"https://api.github.com/users/RedSparr0w","html_url":"https://github.com/RedSparr0w","followers_url":"https://api.github.com/users/RedSparr0w/followers","following_url":"https://api.github.com/users/RedSparr0w/following{/other_user}","gists_url":"https://api.github.com/users/RedSparr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/RedSparr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedSparr0w/subscriptions","organizations_url":"https://api.github.com/users/RedSparr0w/orgs","repos_url":"https://api.github.com/users/RedSparr0w/repos","events_url":"https://api.github.com/users/RedSparr0w/events{/privacy}","received_events_url":"https://api.github.com/users/RedSparr0w/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T21:08:33Z","updated_at":"2016-02-27T21:08:33Z","body":"- steam redirects back to the origin page so `PHP_SELF` is the origin page ie `/demo.php` (doesnt refer to `/steamauth/settings.php` page) - have tested with demo page and example page\r\n- the \"refresh problem\" i was getting was because no `$steamauth['loginpage']` was specified so was not redirecting/reloading after signin\r\n- no problem will split it into 2 different PRs now\r\n\r\n"}}