{"action":"created","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/1497","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/1497/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/1497/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/1497/events","html_url":"https://github.com/IQSS/dataverse/issues/1497","id":58768062,"number":1497,"title":"Shibboleth: persist institution name as affiliation for users","user":{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Status:%20QA","name":"Status: QA","color":"336633"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Type:%20Feature","name":"Type: Feature","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"kcondon","id":4983816,"avatar_url":"https://avatars.githubusercontent.com/u/4983816?v=3","gravatar_id":"","url":"https://api.github.com/users/kcondon","html_url":"https://github.com/kcondon","followers_url":"https://api.github.com/users/kcondon/followers","following_url":"https://api.github.com/users/kcondon/following{/other_user}","gists_url":"https://api.github.com/users/kcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcondon/subscriptions","organizations_url":"https://api.github.com/users/kcondon/orgs","repos_url":"https://api.github.com/users/kcondon/repos","events_url":"https://api.github.com/users/kcondon/events{/privacy}","received_events_url":"https://api.github.com/users/kcondon/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IQSS/dataverse/milestones/26","html_url":"https://github.com/IQSS/dataverse/milestones/Beta%2014%20-%20Dataverse%204.0","labels_url":"https://api.github.com/repos/IQSS/dataverse/milestones/26/labels","id":969408,"number":26,"title":"Beta 14 - Dataverse 4.0","description":"","creator":{"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},"open_issues":38,"closed_issues":181,"state":"closed","created_at":"2015-02-06T21:43:11Z","updated_at":"2015-03-23T16:37:18Z","due_on":"2015-03-11T04:00:00Z","closed_at":"2015-03-12T22:21:54Z"},"comments":7,"created_at":"2015-02-24T17:00:04Z","updated_at":"2015-03-23T16:39:21Z","closed_at":"2015-03-20T21:35:38Z","body":"As discussed especially with @mcrosas and @eaquigley and @mheppler we want to persist \"Harvard University\" (or whatever friendly string we can get per-institution by parsing https://dataverse.harvard.edu/Shibboleth.sso/DiscoFeed ) to the \"affiliation\" field in the authenticateduser table for Shibboleth users. Some initial work toward this was done in 193787ccbd3156cad0832065a75405fe29c02f82\r\n\r\nIf there's a better programmatic way of getting these values, that would be great but it's my understanding that Identity Providers (IdPs) do not commonly pass an attribute for this. Rather, you get something like \"https://fed.huit.harvard.edu/idp/shibboleth\" from the attribute \"Shib-Identity-Provider\" from which you could extract \"harvard.edu\" but we'd like a friendlier name (\"Harvard University\") rather that a domain name to display to users."},"comment":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/comments/85085801","html_url":"https://github.com/IQSS/dataverse/issues/1497#issuecomment-85085801","issue_url":"https://api.github.com/repos/IQSS/dataverse/issues/1497","id":85085801,"user":{"login":"kcondon","id":4983816,"avatar_url":"https://avatars.githubusercontent.com/u/4983816?v=3","gravatar_id":"","url":"https://api.github.com/users/kcondon","html_url":"https://github.com/kcondon","followers_url":"https://api.github.com/users/kcondon/followers","following_url":"https://api.github.com/users/kcondon/following{/other_user}","gists_url":"https://api.github.com/users/kcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcondon/subscriptions","organizations_url":"https://api.github.com/users/kcondon/orgs","repos_url":"https://api.github.com/users/kcondon/repos","events_url":"https://api.github.com/users/kcondon/events{/privacy}","received_events_url":"https://api.github.com/users/kcondon/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T16:39:21Z","updated_at":"2015-03-23T16:39:21Z","body":"@bencomp OK, let us know if you need something to behave differently and we can open another ticket to consider it."}}