{"action":"created","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/2512","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/2512/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/2512/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/2512/events","html_url":"https://github.com/IQSS/dataverse/issues/2512","id":106360116,"number":2512,"title":"Shibboleth: multiple email addresses are stored as a single one","user":{"login":"bencomp","id":1303898,"avatar_url":"https://avatars.githubusercontent.com/u/1303898?v=3","gravatar_id":"","url":"https://api.github.com/users/bencomp","html_url":"https://github.com/bencomp","followers_url":"https://api.github.com/users/bencomp/followers","following_url":"https://api.github.com/users/bencomp/following{/other_user}","gists_url":"https://api.github.com/users/bencomp/gists{/gist_id}","starred_url":"https://api.github.com/users/bencomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bencomp/subscriptions","organizations_url":"https://api.github.com/users/bencomp/orgs","repos_url":"https://api.github.com/users/bencomp/repos","events_url":"https://api.github.com/users/bencomp/events{/privacy}","received_events_url":"https://api.github.com/users/bencomp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQSS/dataverse/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Type:%20Bug","name":"Type: Bug","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"scolapasta","id":4268292,"avatar_url":"https://avatars.githubusercontent.com/u/4268292?v=3","gravatar_id":"","url":"https://api.github.com/users/scolapasta","html_url":"https://github.com/scolapasta","followers_url":"https://api.github.com/users/scolapasta/followers","following_url":"https://api.github.com/users/scolapasta/following{/other_user}","gists_url":"https://api.github.com/users/scolapasta/gists{/gist_id}","starred_url":"https://api.github.com/users/scolapasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scolapasta/subscriptions","organizations_url":"https://api.github.com/users/scolapasta/orgs","repos_url":"https://api.github.com/users/scolapasta/repos","events_url":"https://api.github.com/users/scolapasta/events{/privacy}","received_events_url":"https://api.github.com/users/scolapasta/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-09-14T14:55:47Z","updated_at":"2015-09-15T20:33:32Z","closed_at":null,"body":"When I log in via Shibboleth and my Identity Provider (IdP) provides multiple email addresses separated by semicolon, the concatenation is treated as the email address. The login process works fine, but when I create a dataverse and click \"Save\", the pre-filled email address doesn't pass validation.\r\n\r\nIn the database I see `Jordan.Belfort@harvard-example.edu;jordan@harvard-example.edu` in the email field.\r\n\r\nI expect that one of the email addresses is chosen and stored. This choice could be the result of asking the user during account creation (after the first login), or perhaps on every login the first email is compared to the known address and updated when it changed (depending on the semantics of the ordering). This appears to be similar to #1608."},"comment":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/comments/140528915","html_url":"https://github.com/IQSS/dataverse/issues/2512#issuecomment-140528915","issue_url":"https://api.github.com/repos/IQSS/dataverse/issues/2512","id":140528915,"user":{"login":"michbarsinai","id":1938468,"avatar_url":"https://avatars.githubusercontent.com/u/1938468?v=3","gravatar_id":"","url":"https://api.github.com/users/michbarsinai","html_url":"https://github.com/michbarsinai","followers_url":"https://api.github.com/users/michbarsinai/followers","following_url":"https://api.github.com/users/michbarsinai/following{/other_user}","gists_url":"https://api.github.com/users/michbarsinai/gists{/gist_id}","starred_url":"https://api.github.com/users/michbarsinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michbarsinai/subscriptions","organizations_url":"https://api.github.com/users/michbarsinai/orgs","repos_url":"https://api.github.com/users/michbarsinai/repos","events_url":"https://api.github.com/users/michbarsinai/events{/privacy}","received_events_url":"https://api.github.com/users/michbarsinai/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T20:33:31Z","updated_at":"2015-09-15T20:33:31Z","body":"I'm fine with adding an annotation there, as long as it's the second line of defence :-)"}}