{"action":"created","issue":{"url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/issues/3","repository_url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope","labels_url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/issues/3/comments","events_url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/issues/3/events","html_url":"https://github.com/NIIF/simplesamlphp-module-attributescope/pull/3","id":141109673,"number":3,"title":"Add check for attributes suffixed scope","user":{"login":"pradtke","id":932934,"avatar_url":"https://avatars.githubusercontent.com/u/932934?v=3","gravatar_id":"","url":"https://api.github.com/users/pradtke","html_url":"https://github.com/pradtke","followers_url":"https://api.github.com/users/pradtke/followers","following_url":"https://api.github.com/users/pradtke/following{/other_user}","gists_url":"https://api.github.com/users/pradtke/gists{/gist_id}","starred_url":"https://api.github.com/users/pradtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradtke/subscriptions","organizations_url":"https://api.github.com/users/pradtke/orgs","repos_url":"https://api.github.com/users/pradtke/repos","events_url":"https://api.github.com/users/pradtke/events{/privacy}","received_events_url":"https://api.github.com/users/pradtke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-15T21:52:03Z","updated_at":"2016-04-05T19:42:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/pulls/3","html_url":"https://github.com/NIIF/simplesamlphp-module-attributescope/pull/3","diff_url":"https://github.com/NIIF/simplesamlphp-module-attributescope/pull/3.diff","patch_url":"https://github.com/NIIF/simplesamlphp-module-attributescope/pull/3.patch"},"body":"We have a use case for checking attributes against a subdomain form of the scope.\r\nExample if the scope is 'example.com' then we want to accept (for a mail attribute) `user@example.com`, `user@department.example.com`, etc.\r\nThis might be generally useful so I'm creating a PR.\r\nIf you think the use case is too specific to us (and don't want the PR) that is fine too :)"},"comment":{"url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/issues/comments/205962997","html_url":"https://github.com/NIIF/simplesamlphp-module-attributescope/pull/3#issuecomment-205962997","issue_url":"https://api.github.com/repos/NIIF/simplesamlphp-module-attributescope/issues/3","id":205962997,"user":{"login":"pradtke","id":932934,"avatar_url":"https://avatars.githubusercontent.com/u/932934?v=3","gravatar_id":"","url":"https://api.github.com/users/pradtke","html_url":"https://github.com/pradtke","followers_url":"https://api.github.com/users/pradtke/followers","following_url":"https://api.github.com/users/pradtke/following{/other_user}","gists_url":"https://api.github.com/users/pradtke/gists{/gist_id}","starred_url":"https://api.github.com/users/pradtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradtke/subscriptions","organizations_url":"https://api.github.com/users/pradtke/orgs","repos_url":"https://api.github.com/users/pradtke/repos","events_url":"https://api.github.com/users/pradtke/events{/privacy}","received_events_url":"https://api.github.com/users/pradtke/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T19:42:18Z","updated_at":"2016-04-05T19:42:18Z","body":"I had some time to circle back to this.  I updated the PR to filter scoped attributes that do not have data before the '@'."}}