{"action":"created","issue":{"url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/148","repository_url":"https://api.github.com/repos/abacritt/angularx-social-login","labels_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/148/comments","events_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/148/events","html_url":"https://github.com/abacritt/angularx-social-login/issues/148","id":388433355,"node_id":"MDU6SXNzdWUzODg0MzMzNTU=","number":148,"title":"prevent login button flash","user":{"login":"rynop","id":372730,"node_id":"MDQ6VXNlcjM3MjczMA==","avatar_url":"https://avatars0.githubusercontent.com/u/372730?v=4","gravatar_id":"","url":"https://api.github.com/users/rynop","html_url":"https://github.com/rynop","followers_url":"https://api.github.com/users/rynop/followers","following_url":"https://api.github.com/users/rynop/following{/other_user}","gists_url":"https://api.github.com/users/rynop/gists{/gist_id}","starred_url":"https://api.github.com/users/rynop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynop/subscriptions","organizations_url":"https://api.github.com/users/rynop/orgs","repos_url":"https://api.github.com/users/rynop/repos","events_url":"https://api.github.com/users/rynop/events{/privacy}","received_events_url":"https://api.github.com/users/rynop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-06T22:56:07Z","updated_at":"2018-12-18T15:52:18Z","closed_at":null,"author_association":"NONE","body":"The only way I can find out how to check user login status is by waiting for the authState observable, there is always a moment in time where the login buttons show before this subscription is invoked.\r\n\r\nYou can even see this behavior in the demo: https://abacritt.github.io/angularx-social-login/\r\n\r\nLogin, then refresh the page. You'll see a flash of the login buttons.."},"comment":{"url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/comments/448268287","html_url":"https://github.com/abacritt/angularx-social-login/issues/148#issuecomment-448268287","issue_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/148","id":448268287,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODI2ODI4Nw==","user":{"login":"rynop","id":372730,"node_id":"MDQ6VXNlcjM3MjczMA==","avatar_url":"https://avatars0.githubusercontent.com/u/372730?v=4","gravatar_id":"","url":"https://api.github.com/users/rynop","html_url":"https://github.com/rynop","followers_url":"https://api.github.com/users/rynop/followers","following_url":"https://api.github.com/users/rynop/following{/other_user}","gists_url":"https://api.github.com/users/rynop/gists{/gist_id}","starred_url":"https://api.github.com/users/rynop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynop/subscriptions","organizations_url":"https://api.github.com/users/rynop/orgs","repos_url":"https://api.github.com/users/rynop/repos","events_url":"https://api.github.com/users/rynop/events{/privacy}","received_events_url":"https://api.github.com/users/rynop/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T15:52:18Z","updated_at":"2018-12-18T15:52:18Z","author_association":"NONE","body":"Hmm I'm not sure how that will prevent display of login button.  You have a stackblitz / example of live website doing this that you can pass along?\r\n\r\nI think the solution is to "}}
{"actor":{"display_login":"rynop"}}