{"action":"created","issue":{"url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example/issues/9","repository_url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example","labels_url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example/issues/9/comments","events_url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example/issues/9/events","html_url":"https://github.com/ronzeidman/ng2-ui-auth-example/issues/9","id":222234974,"number":9,"title":"OAuth popup window redirects to base url","user":{"login":"godlovesugly","id":289534,"avatar_url":"https://avatars3.githubusercontent.com/u/289534?v=3","gravatar_id":"","url":"https://api.github.com/users/godlovesugly","html_url":"https://github.com/godlovesugly","followers_url":"https://api.github.com/users/godlovesugly/followers","following_url":"https://api.github.com/users/godlovesugly/following{/other_user}","gists_url":"https://api.github.com/users/godlovesugly/gists{/gist_id}","starred_url":"https://api.github.com/users/godlovesugly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godlovesugly/subscriptions","organizations_url":"https://api.github.com/users/godlovesugly/orgs","repos_url":"https://api.github.com/users/godlovesugly/repos","events_url":"https://api.github.com/users/godlovesugly/events{/privacy}","received_events_url":"https://api.github.com/users/godlovesugly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-17T21:20:37Z","updated_at":"2017-04-18T07:29:25Z","closed_at":null,"body":"Hi,\r\n\r\nJust started using this and there's an irritating issue with the OAuth popup window.\r\n\r\nMost of the times I get redirected to the base url of my site in the popup window as soon as it opens and the first request is made (in case of Facebook), and after selecting the account (in case of Google). If I then close the popup, I get an error saying \"Authentication canceled\".\r\n\r\nDo you have any suggestions in how to fix this? \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example/issues/comments/294713053","html_url":"https://github.com/ronzeidman/ng2-ui-auth-example/issues/9#issuecomment-294713053","issue_url":"https://api.github.com/repos/ronzeidman/ng2-ui-auth-example/issues/9","id":294713053,"user":{"login":"ronzeidman","id":14001863,"avatar_url":"https://avatars2.githubusercontent.com/u/14001863?v=3","gravatar_id":"","url":"https://api.github.com/users/ronzeidman","html_url":"https://github.com/ronzeidman","followers_url":"https://api.github.com/users/ronzeidman/followers","following_url":"https://api.github.com/users/ronzeidman/following{/other_user}","gists_url":"https://api.github.com/users/ronzeidman/gists{/gist_id}","starred_url":"https://api.github.com/users/ronzeidman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronzeidman/subscriptions","organizations_url":"https://api.github.com/users/ronzeidman/orgs","repos_url":"https://api.github.com/users/ronzeidman/repos","events_url":"https://api.github.com/users/ronzeidman/events{/privacy}","received_events_url":"https://api.github.com/users/ronzeidman/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T07:29:25Z","updated_at":"2017-04-18T07:29:25Z","body":"You should catch the \"Authentication Cancelled\" and handle or ignore it (it's \"by design\"). It's a good thing to handle exceptions whenever they throw.\r\n\r\nAs for the redirection, you can specify in the provider `redirectUri: 'https://my-domain.com/anything'` just remember to approve it in your provider's site (google/facebook console)."}}
{"actor":{"display_login":"ronzeidman"}}