{"action":"created","issue":{"url":"https://api.github.com/repos/indico/indico/issues/1691","labels_url":"https://api.github.com/repos/indico/indico/issues/1691/labels{/name}","comments_url":"https://api.github.com/repos/indico/indico/issues/1691/comments","events_url":"https://api.github.com/repos/indico/indico/issues/1691/events","html_url":"https://github.com/indico/indico/issues/1691","id":50994900,"number":1691,"title":"Federated login with multiple mails","user":{"login":"fmarco76","id":7560027,"avatar_url":"https://avatars.githubusercontent.com/u/7560027?v=3","gravatar_id":"","url":"https://api.github.com/users/fmarco76","html_url":"https://github.com/fmarco76","followers_url":"https://api.github.com/users/fmarco76/followers","following_url":"https://api.github.com/users/fmarco76/following{/other_user}","gists_url":"https://api.github.com/users/fmarco76/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarco76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarco76/subscriptions","organizations_url":"https://api.github.com/users/fmarco76/orgs","repos_url":"https://api.github.com/users/fmarco76/repos","events_url":"https://api.github.com/users/fmarco76/events{/privacy}","received_events_url":"https://api.github.com/users/fmarco76/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/indico/indico/labels/enhancement","name":"enhancement","color":"207de5"},{"url":"https://api.github.com/repos/indico/indico/labels/p-medium","name":"p-medium","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/indico/indico/milestones/21","html_url":"https://github.com/indico/indico/milestones/v1.2.1","labels_url":"https://api.github.com/repos/indico/indico/milestones/21/labels","id":811826,"number":21,"title":"v1.2.1","description":"v1.2.1","creator":{"login":"indico-bot","id":5259294,"avatar_url":"https://avatars.githubusercontent.com/u/5259294?v=3","gravatar_id":"","url":"https://api.github.com/users/indico-bot","html_url":"https://github.com/indico-bot","followers_url":"https://api.github.com/users/indico-bot/followers","following_url":"https://api.github.com/users/indico-bot/following{/other_user}","gists_url":"https://api.github.com/users/indico-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/indico-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indico-bot/subscriptions","organizations_url":"https://api.github.com/users/indico-bot/orgs","repos_url":"https://api.github.com/users/indico-bot/repos","events_url":"https://api.github.com/users/indico-bot/events{/privacy}","received_events_url":"https://api.github.com/users/indico-bot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"open","created_at":"2014-10-02T18:54:50Z","updated_at":"2015-06-02T14:59:37Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2014-12-04T16:18:17Z","updated_at":"2015-06-02T14:59:37Z","closed_at":"2015-06-02T14:59:37Z","body":"The field mail returned by an IdP can contain multiple values and in this case the match does not work properly because it try to compare the full list with the single mail in the Avatar. Actually, it seems the system is designed to manage only a single mail coming from the IdP.\r\n\r\nUsing shibboleth the multiple mails are returned as semi-colon separated list of mails.\r\n\r\nAt the end a new account is created with the mail field contains the list of mails returned by the IdP instead of a single mail and the others as secondary emails."},"comment":{"url":"https://api.github.com/repos/indico/indico/issues/comments/107983963","html_url":"https://github.com/indico/indico/issues/1691#issuecomment-107983963","issue_url":"https://api.github.com/repos/indico/indico/issues/1691","id":107983963,"user":{"login":"ThiefMaster","id":179599,"avatar_url":"https://avatars.githubusercontent.com/u/179599?v=3","gravatar_id":"","url":"https://api.github.com/users/ThiefMaster","html_url":"https://github.com/ThiefMaster","followers_url":"https://api.github.com/users/ThiefMaster/followers","following_url":"https://api.github.com/users/ThiefMaster/following{/other_user}","gists_url":"https://api.github.com/users/ThiefMaster/gists{/gist_id}","starred_url":"https://api.github.com/users/ThiefMaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThiefMaster/subscriptions","organizations_url":"https://api.github.com/users/ThiefMaster/orgs","repos_url":"https://api.github.com/users/ThiefMaster/repos","events_url":"https://api.github.com/users/ThiefMaster/events{/privacy}","received_events_url":"https://api.github.com/users/ThiefMaster/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T14:59:37Z","updated_at":"2015-06-02T14:59:37Z","body":"Obsolete since the rewrite of the user/authentication system."}}