{"action":"created","issue":{"url":"https://api.github.com/repos/biola/rack-cas/issues/36","labels_url":"https://api.github.com/repos/biola/rack-cas/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/biola/rack-cas/issues/36/comments","events_url":"https://api.github.com/repos/biola/rack-cas/issues/36/events","html_url":"https://github.com/biola/rack-cas/issues/36","id":68255660,"number":36,"title":"not receiving extra attributes","user":{"login":"pbunyasrie","id":4926549,"avatar_url":"https://avatars.githubusercontent.com/u/4926549?v=3","gravatar_id":"","url":"https://api.github.com/users/pbunyasrie","html_url":"https://github.com/pbunyasrie","followers_url":"https://api.github.com/users/pbunyasrie/followers","following_url":"https://api.github.com/users/pbunyasrie/following{/other_user}","gists_url":"https://api.github.com/users/pbunyasrie/gists{/gist_id}","starred_url":"https://api.github.com/users/pbunyasrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbunyasrie/subscriptions","organizations_url":"https://api.github.com/users/pbunyasrie/orgs","repos_url":"https://api.github.com/users/pbunyasrie/repos","events_url":"https://api.github.com/users/pbunyasrie/events{/privacy}","received_events_url":"https://api.github.com/users/pbunyasrie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"adamcrown","id":277306,"avatar_url":"https://avatars.githubusercontent.com/u/277306?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcrown","html_url":"https://github.com/adamcrown","followers_url":"https://api.github.com/users/adamcrown/followers","following_url":"https://api.github.com/users/adamcrown/following{/other_user}","gists_url":"https://api.github.com/users/adamcrown/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcrown/subscriptions","organizations_url":"https://api.github.com/users/adamcrown/orgs","repos_url":"https://api.github.com/users/adamcrown/repos","events_url":"https://api.github.com/users/adamcrown/events{/privacy}","received_events_url":"https://api.github.com/users/adamcrown/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-14T03:58:37Z","updated_at":"2015-04-14T20:26:50Z","closed_at":null,"body":"I'm on rails 4.2.1, and am I'm able to login fine using CAS. However, I'm getting an empty hash when trying to view extra_attributes.\r\n\r\nI've already whitelisted the attributes in config/application.rb like so:\r\n`config.rack_cas.extra_attributes_filter = %w(groupMembership mail)`\r\n\r\nI'm using Jasig CAS 3.5.3, and defining the attributes that the service can see in  the Services Management Console as decribed in https://wiki.jasig.org/display/CASUM/Services+Management\r\n\r\nAt this point, I'm using pretty much the same same controller and view code as the demo.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/biola/rack-cas/issues/comments/93049910","html_url":"https://github.com/biola/rack-cas/issues/36#issuecomment-93049910","issue_url":"https://api.github.com/repos/biola/rack-cas/issues/36","id":93049910,"user":{"login":"pbunyasrie","id":4926549,"avatar_url":"https://avatars.githubusercontent.com/u/4926549?v=3","gravatar_id":"","url":"https://api.github.com/users/pbunyasrie","html_url":"https://github.com/pbunyasrie","followers_url":"https://api.github.com/users/pbunyasrie/followers","following_url":"https://api.github.com/users/pbunyasrie/following{/other_user}","gists_url":"https://api.github.com/users/pbunyasrie/gists{/gist_id}","starred_url":"https://api.github.com/users/pbunyasrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbunyasrie/subscriptions","organizations_url":"https://api.github.com/users/pbunyasrie/orgs","repos_url":"https://api.github.com/users/pbunyasrie/repos","events_url":"https://api.github.com/users/pbunyasrie/events{/privacy}","received_events_url":"https://api.github.com/users/pbunyasrie/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T20:26:50Z","updated_at":"2015-04-14T20:26:50Z","body":"    [1] pry(#<RackCAS::ServiceValidationResponse>)> response.body\r\n    => \"\\r\\n\\r\\n\\r\\n\\r\\n<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas' xmlns:vcu='http://login.vcu.edu/cas'>\\r\\n\\t<cas:authenticationSuccess>\\r\\n\\t\\t<cas:user>test-studnt2</cas:user>\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t<vcu:attributes>\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t<vcu:sn>Rolled</vcu:sn>\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t<vcu:givenName>En</vcu:givenName>\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t<vcu:givenName>En 2</vcu:givenName>\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t<vcu:displayName>En 2 Rolled</vcu:displayName>\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t</vcu:attributes>\\r\\n\\t</cas:authenticationSuccess>\\r\\n</cas:serviceResponse>\\r\\n\\r\\n\"\r\n    [2] pry(#<RackCAS::ServiceValidationResponse>)> exit"}}