{"action":"closed","issue":{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/172","repository_url":"https://api.github.com/repos/Xephi/AuthMeReloaded","labels_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/172/comments","events_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/172/events","html_url":"https://github.com/Xephi/AuthMeReloaded/issues/172","id":99797109,"number":172,"title":"Support for 3rd party logins (allow custom logins via API)","user":{"login":"Trojaner25","id":1809172,"avatar_url":"https://avatars.githubusercontent.com/u/1809172?v=3","gravatar_id":"","url":"https://api.github.com/users/Trojaner25","html_url":"https://github.com/Trojaner25","followers_url":"https://api.github.com/users/Trojaner25/followers","following_url":"https://api.github.com/users/Trojaner25/following{/other_user}","gists_url":"https://api.github.com/users/Trojaner25/gists{/gist_id}","starred_url":"https://api.github.com/users/Trojaner25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trojaner25/subscriptions","organizations_url":"https://api.github.com/users/Trojaner25/orgs","repos_url":"https://api.github.com/users/Trojaner25/repos","events_url":"https://api.github.com/users/Trojaner25/events{/privacy}","received_events_url":"https://api.github.com/users/Trojaner25/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/labels/awaiting%20answer","name":"awaiting answer","color":"eb6420"},{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/milestones/2","html_url":"https://github.com/Xephi/AuthMeReloaded/milestones/5.3%20Beta","labels_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/milestones/2/labels","id":1476595,"number":2,"title":"5.3 Beta","description":"","creator":{"login":"sgdc3","id":8779252,"avatar_url":"https://avatars.githubusercontent.com/u/8779252?v=3","gravatar_id":"","url":"https://api.github.com/users/sgdc3","html_url":"https://github.com/sgdc3","followers_url":"https://api.github.com/users/sgdc3/followers","following_url":"https://api.github.com/users/sgdc3/following{/other_user}","gists_url":"https://api.github.com/users/sgdc3/gists{/gist_id}","starred_url":"https://api.github.com/users/sgdc3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgdc3/subscriptions","organizations_url":"https://api.github.com/users/sgdc3/orgs","repos_url":"https://api.github.com/users/sgdc3/repos","events_url":"https://api.github.com/users/sgdc3/events{/privacy}","received_events_url":"https://api.github.com/users/sgdc3/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2015-12-29T02:47:15Z","updated_at":"2016-02-13T12:28:55Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-08-08T11:58:22Z","updated_at":"2016-02-13T12:28:55Z","closed_at":"2016-02-13T12:28:55Z","body":"Hey,\r\nIt would be nice if there would be an API allowing other plugins to define custom login types.\r\n\r\nFor example, a player would be able to login with his forum credentials, or other plugins may add 2 factor authentifications like those from google, etc...\r\n\r\nA simple implementation would be an event which is fired upon handling of login. It could check it with functions like event.isSuccess() and event.setSuccess(boolean value)"}}