{"action":"created","issue":{"url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/issues/84","repository_url":"https://api.github.com/repos/psignoret/aad-sso-wordpress","labels_url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/issues/84/comments","events_url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/issues/84/events","html_url":"https://github.com/psignoret/aad-sso-wordpress/pull/84","id":166419204,"number":84,"title":"Check for existing user based on (UPN - domain hint)","user":{"login":"stephen-kainos","id":8288896,"avatar_url":"https://avatars.githubusercontent.com/u/8288896?v=3","gravatar_id":"","url":"https://api.github.com/users/stephen-kainos","html_url":"https://github.com/stephen-kainos","followers_url":"https://api.github.com/users/stephen-kainos/followers","following_url":"https://api.github.com/users/stephen-kainos/following{/other_user}","gists_url":"https://api.github.com/users/stephen-kainos/gists{/gist_id}","starred_url":"https://api.github.com/users/stephen-kainos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephen-kainos/subscriptions","organizations_url":"https://api.github.com/users/stephen-kainos/orgs","repos_url":"https://api.github.com/users/stephen-kainos/repos","events_url":"https://api.github.com/users/stephen-kainos/events{/privacy}","received_events_url":"https://api.github.com/users/stephen-kainos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T19:54:57Z","updated_at":"2016-07-21T07:23:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/pulls/84","html_url":"https://github.com/psignoret/aad-sso-wordpress/pull/84","diff_url":"https://github.com/psignoret/aad-sso-wordpress/pull/84.diff","patch_url":"https://github.com/psignoret/aad-sso-wordpress/pull/84.patch"},"body":"Based on #83, adding the ability to check for existing wordpress users that are based on the windows account name rather than the UPN. \r\n\r\nCheck takes the UPN and strips off the domain hint to get the username"},"comment":{"url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/issues/comments/234177077","html_url":"https://github.com/psignoret/aad-sso-wordpress/pull/84#issuecomment-234177077","issue_url":"https://api.github.com/repos/psignoret/aad-sso-wordpress/issues/84","id":234177077,"user":{"login":"psignoret","id":231140,"avatar_url":"https://avatars.githubusercontent.com/u/231140?v=3","gravatar_id":"","url":"https://api.github.com/users/psignoret","html_url":"https://github.com/psignoret","followers_url":"https://api.github.com/users/psignoret/followers","following_url":"https://api.github.com/users/psignoret/following{/other_user}","gists_url":"https://api.github.com/users/psignoret/gists{/gist_id}","starred_url":"https://api.github.com/users/psignoret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psignoret/subscriptions","organizations_url":"https://api.github.com/users/psignoret/orgs","repos_url":"https://api.github.com/users/psignoret/repos","events_url":"https://api.github.com/users/psignoret/events{/privacy}","received_events_url":"https://api.github.com/users/psignoret/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T07:23:28Z","updated_at":"2016-07-21T07:23:28Z","body":"I like the idea. However, I would prefer if this behavior were explicitly chosen by the blog admin (i.e. conditioned to a setting flag), as this is part of the authentication decision, which could have unintended repercussions on authorization.\r\n\r\nAs an (admittedly far-fetched) example, fictional user Adrian Minard's username may be admin@example.com, which would then match the WordPress 'admin' user (perhaps left over from the initial installation).\r\n\r\nIf you add the setting, I'll add the UI."}}
{"actor":{"display_login":"psignoret"}}