{"action":"created","issue":{"url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/66","repository_url":"https://api.github.com/repos/abacritt/angularx-social-login","labels_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/66/comments","events_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/66/events","html_url":"https://github.com/abacritt/angularx-social-login/issues/66","id":305784126,"number":66,"title":"Google 'PROMPT' sign in option is not available","user":{"login":"ahamarasinghe","id":8254786,"avatar_url":"https://avatars1.githubusercontent.com/u/8254786?v=4","gravatar_id":"","url":"https://api.github.com/users/ahamarasinghe","html_url":"https://github.com/ahamarasinghe","followers_url":"https://api.github.com/users/ahamarasinghe/followers","following_url":"https://api.github.com/users/ahamarasinghe/following{/other_user}","gists_url":"https://api.github.com/users/ahamarasinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/ahamarasinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahamarasinghe/subscriptions","organizations_url":"https://api.github.com/users/ahamarasinghe/orgs","repos_url":"https://api.github.com/users/ahamarasinghe/repos","events_url":"https://api.github.com/users/ahamarasinghe/events{/privacy}","received_events_url":"https://api.github.com/users/ahamarasinghe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-16T02:43:11Z","updated_at":"2018-04-17T07:00:10Z","closed_at":"2018-04-17T06:59:48Z","author_association":"NONE","body":"Current Behavior:\r\nOnce a user sign in with an account this will always use the same account on the consecutive logins without asking/promting the user.\r\n\r\nExpecting Behavior:\r\nEvery time a user sign in Google will prompt the accounts to select among them.\r\n\r\nSolution:\r\nGoogle has a sign in option called **'promt'** and we need to set value of this to 'select_account' to get the above explained behavior. \r\nIn the **LoginOpt** interface this is not available therefor users can't set it. Adding this **'prompt'** to the **LoginOpt** interface will fix this.\r\n\r\n[google documentation](https://developers.google.com/api-client-library/javascript/reference/referencedocs#googleauthsigninoptions)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/comments/381870436","html_url":"https://github.com/abacritt/angularx-social-login/issues/66#issuecomment-381870436","issue_url":"https://api.github.com/repos/abacritt/angularx-social-login/issues/66","id":381870436,"user":{"login":"jaibatrik","id":1858403,"avatar_url":"https://avatars2.githubusercontent.com/u/1858403?v=4","gravatar_id":"","url":"https://api.github.com/users/jaibatrik","html_url":"https://github.com/jaibatrik","followers_url":"https://api.github.com/users/jaibatrik/followers","following_url":"https://api.github.com/users/jaibatrik/following{/other_user}","gists_url":"https://api.github.com/users/jaibatrik/gists{/gist_id}","starred_url":"https://api.github.com/users/jaibatrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaibatrik/subscriptions","organizations_url":"https://api.github.com/users/jaibatrik/orgs","repos_url":"https://api.github.com/users/jaibatrik/repos","events_url":"https://api.github.com/users/jaibatrik/events{/privacy}","received_events_url":"https://api.github.com/users/jaibatrik/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T07:00:10Z","updated_at":"2018-04-17T07:00:10Z","author_association":"CONTRIBUTOR","body":"let me know if you are not finding it in the npm release."}}
{"actor":{"display_login":"jaibatrik"}}