{"action":"created","issue":{"url":"https://api.github.com/repos/PracticallyGreen/omniauth-saml/issues/38","labels_url":"https://api.github.com/repos/PracticallyGreen/omniauth-saml/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/PracticallyGreen/omniauth-saml/issues/38/comments","events_url":"https://api.github.com/repos/PracticallyGreen/omniauth-saml/issues/38/events","html_url":"https://github.com/PracticallyGreen/omniauth-saml/issues/38","id":60583193,"number":38,"title":"ruby-saml 0.8 line does not allow multiple values for attributes","user":{"login":"mattspatola","id":1404440,"avatar_url":"https://avatars.githubusercontent.com/u/1404440?v=3","gravatar_id":"","url":"https://api.github.com/users/mattspatola","html_url":"https://github.com/mattspatola","followers_url":"https://api.github.com/users/mattspatola/followers","following_url":"https://api.github.com/users/mattspatola/following{/other_user}","gists_url":"https://api.github.com/users/mattspatola/gists{/gist_id}","starred_url":"https://api.github.com/users/mattspatola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattspatola/subscriptions","organizations_url":"https://api.github.com/users/mattspatola/orgs","repos_url":"https://api.github.com/users/mattspatola/repos","events_url":"https://api.github.com/users/mattspatola/events{/privacy}","received_events_url":"https://api.github.com/users/mattspatola/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T22:54:58Z","updated_at":"2015-07-23T09:28:45Z","closed_at":"2015-07-23T09:28:45Z","body":"Ran into this issue when receiving an attribute with multiple values.  The 0.8 line of ruby-saml does not allow multiple values for any attributes and will instead take the first value in these cases.  By bumping the dependency to '~> 0.9.1', we get the new Attributes objects that allow us to get an array of values without changing the default behavior when using hash access.\r\n\r\nI implemented it on [our fork](https://github.com/lumoslabs/omniauth-saml), specifically on [this commit](https://github.com/lumoslabs/omniauth-saml/commit/d4d68fe4ccec11c947d7541f63349484aa570b68) to bump the version (and bump its gem version) and [this commit](https://github.com/lumoslabs/omniauth-saml/commit/4a8b20fbb1afb8af49b039a2d3c3ef0a6f59886d) to do a quick, dirty hack to fix the specs (and update the Gemfile.lock)."},"comment":{"url":"https://api.github.com/repos/PracticallyGreen/omniauth-saml/issues/comments/124032615","html_url":"https://github.com/PracticallyGreen/omniauth-saml/issues/38#issuecomment-124032615","issue_url":"https://api.github.com/repos/PracticallyGreen/omniauth-saml/issues/38","id":124032615,"user":{"login":"bpedro","id":56472,"avatar_url":"https://avatars.githubusercontent.com/u/56472?v=3","gravatar_id":"","url":"https://api.github.com/users/bpedro","html_url":"https://github.com/bpedro","followers_url":"https://api.github.com/users/bpedro/followers","following_url":"https://api.github.com/users/bpedro/following{/other_user}","gists_url":"https://api.github.com/users/bpedro/gists{/gist_id}","starred_url":"https://api.github.com/users/bpedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpedro/subscriptions","organizations_url":"https://api.github.com/users/bpedro/orgs","repos_url":"https://api.github.com/users/bpedro/repos","events_url":"https://api.github.com/users/bpedro/events{/privacy}","received_events_url":"https://api.github.com/users/bpedro/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T09:28:45Z","updated_at":"2015-07-23T09:28:45Z","body":"I just released v1.4.0 (https://github.com/PracticallyGreen/omniauth-saml/releases/tag/v1.4.0) which uses ruby-saml 1.0.0.\r\n\r\nI hope that fixes this issue.\r\n\r\nThanks!"}}