{"action":"created","issue":{"url":"https://api.github.com/repos/omniauth/omniauth-saml/issues/120","repository_url":"https://api.github.com/repos/omniauth/omniauth-saml","labels_url":"https://api.github.com/repos/omniauth/omniauth-saml/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/omniauth/omniauth-saml/issues/120/comments","events_url":"https://api.github.com/repos/omniauth/omniauth-saml/issues/120/events","html_url":"https://github.com/omniauth/omniauth-saml/issues/120","id":189056818,"number":120,"title":"Custom uid in case of transient NameID format","user":{"login":"brukau","id":15345943,"avatar_url":"https://avatars.githubusercontent.com/u/15345943?v=3","gravatar_id":"","url":"https://api.github.com/users/brukau","html_url":"https://github.com/brukau","followers_url":"https://api.github.com/users/brukau/followers","following_url":"https://api.github.com/users/brukau/following{/other_user}","gists_url":"https://api.github.com/users/brukau/gists{/gist_id}","starred_url":"https://api.github.com/users/brukau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brukau/subscriptions","organizations_url":"https://api.github.com/users/brukau/orgs","repos_url":"https://api.github.com/users/brukau/repos","events_url":"https://api.github.com/users/brukau/events{/privacy}","received_events_url":"https://api.github.com/users/brukau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-14T08:46:15Z","updated_at":"2016-11-15T19:40:15Z","closed_at":null,"body":"At the moment NameID is always used as uid\r\nhttps://github.com/omniauth/omniauth-saml/blob/master/lib/omniauth/strategies/saml.rb#L139\r\n\r\nBut according to SAML spec in case of Transient Name Identifier (section 8.3.8, line 3359)\r\n> identifier with transient semantics and SHOULD be treated\r\n> as an opaque and temporary value by the relying party\r\n\r\nWill it be possible to add an additional config option to use some attribute instead of NameID?\r\n(Example in djangosaml2 https://github.com/knaperek/djangosaml2/blob/master/djangosaml2/backends.py#L92-L100)"},"comment":{"url":"https://api.github.com/repos/omniauth/omniauth-saml/issues/comments/260744493","html_url":"https://github.com/omniauth/omniauth-saml/issues/120#issuecomment-260744493","issue_url":"https://api.github.com/repos/omniauth/omniauth-saml/issues/120","id":260744493,"user":{"login":"md5","id":76367,"avatar_url":"https://avatars.githubusercontent.com/u/76367?v=3","gravatar_id":"","url":"https://api.github.com/users/md5","html_url":"https://github.com/md5","followers_url":"https://api.github.com/users/md5/followers","following_url":"https://api.github.com/users/md5/following{/other_user}","gists_url":"https://api.github.com/users/md5/gists{/gist_id}","starred_url":"https://api.github.com/users/md5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/md5/subscriptions","organizations_url":"https://api.github.com/users/md5/orgs","repos_url":"https://api.github.com/users/md5/repos","events_url":"https://api.github.com/users/md5/events{/privacy}","received_events_url":"https://api.github.com/users/md5/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T19:40:15Z","updated_at":"2016-11-15T19:40:15Z","body":"@brukau I'm still happy to review a PR for this change, as I mentioned in #106.\r\n\r\nDo you mind if we close this issue? I consider it a duplicate of #106."}}
{"actor":{"display_login":"md5"}}