{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5197","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5197/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5197/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5197/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/5197","id":195182462,"number":5197,"title":"Custom oauth registering two buttons on login page","user":{"login":"johnlund","id":9579511,"avatar_url":"https://avatars.githubusercontent.com/u/9579511?v=3","gravatar_id":"","url":"https://api.github.com/users/johnlund","html_url":"https://github.com/johnlund","followers_url":"https://api.github.com/users/johnlund/followers","following_url":"https://api.github.com/users/johnlund/following{/other_user}","gists_url":"https://api.github.com/users/johnlund/gists{/gist_id}","starred_url":"https://api.github.com/users/johnlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnlund/subscriptions","organizations_url":"https://api.github.com/users/johnlund/orgs","repos_url":"https://api.github.com/users/johnlund/repos","events_url":"https://api.github.com/users/johnlund/events{/privacy}","received_events_url":"https://api.github.com/users/johnlund/received_events","type":"User","site_admin":false},"labels":[{"id":261742404,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20oauth%20/%20sso","name":"feat: oauth / sso","color":"207de5","default":false},{"id":213300653,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20bug","name":"type: bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-13T07:38:50Z","updated_at":"2016-12-14T03:50:40Z","closed_at":null,"body":"Your Rocket.Chat version: 0.48.0\r\n\r\nI'm using a single custom oauth for login, and it's been working fine, but recently it is displaying a new empty button on the login page:\r\n\r\n<img width=\"956\" alt=\"chat_-_modern_masters\" src=\"https://cloud.githubusercontent.com/assets/9579511/21131517/5b567f7c-c0cc-11e6-98e8-de855eb43a33.png\">\r\n\r\nThe button on the right labeled `Enter` is the correct button, and still works to log me in. The grey button on the left does nothing when clicked."},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/266935587","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/5197#issuecomment-266935587","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5197","id":266935587,"user":{"login":"johnlund","id":9579511,"avatar_url":"https://avatars.githubusercontent.com/u/9579511?v=3","gravatar_id":"","url":"https://api.github.com/users/johnlund","html_url":"https://github.com/johnlund","followers_url":"https://api.github.com/users/johnlund/followers","following_url":"https://api.github.com/users/johnlund/following{/other_user}","gists_url":"https://api.github.com/users/johnlund/gists{/gist_id}","starred_url":"https://api.github.com/users/johnlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnlund/subscriptions","organizations_url":"https://api.github.com/users/johnlund/orgs","repos_url":"https://api.github.com/users/johnlund/repos","events_url":"https://api.github.com/users/johnlund/events{/privacy}","received_events_url":"https://api.github.com/users/johnlund/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T03:50:40Z","updated_at":"2016-12-14T03:50:40Z","body":"@geekgonecrazy Ok. I removed the custom oauth, and there were no other custom oauths in the admin section, and no other oauths enabled. After doing so, the login page appeared unchanged - is showed two buttons, the grey, and the purple.\r\n\r\nI then added a new custom oauth, with a new name, and now I have three buttons on my login screen:\r\n\r\n<img width=\"1108\" alt=\"modern_masters_chat\" src=\"https://cloud.githubusercontent.com/assets/9579511/21169011/c444d0de-c175-11e6-8897-2b7e9f18096f.png\">\r\n\r\nThis is becoming a more urgent issue. :)"}}
{"actor":{"display_login":"johnlund"}}