{"action":"opened","issue":{"url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/issues/41","labels_url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/issues/41/comments","events_url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/issues/41/events","html_url":"https://github.com/SimpleCloudManagerProject/Scamp-API/issues/41","id":63314965,"number":41,"title":"Link AAD user to SCAMP User Profile","user":{"login":"brentstineman","id":1760519,"avatar_url":"https://avatars.githubusercontent.com/u/1760519?v=3","gravatar_id":"","url":"https://api.github.com/users/brentstineman","html_url":"https://github.com/brentstineman","followers_url":"https://api.github.com/users/brentstineman/followers","following_url":"https://api.github.com/users/brentstineman/following{/other_user}","gists_url":"https://api.github.com/users/brentstineman/gists{/gist_id}","starred_url":"https://api.github.com/users/brentstineman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentstineman/subscriptions","organizations_url":"https://api.github.com/users/brentstineman/orgs","repos_url":"https://api.github.com/users/brentstineman/repos","events_url":"https://api.github.com/users/brentstineman/events{/privacy}","received_events_url":"https://api.github.com/users/brentstineman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/labels/Task","name":"Task","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"brentstineman","id":1760519,"avatar_url":"https://avatars.githubusercontent.com/u/1760519?v=3","gravatar_id":"","url":"https://api.github.com/users/brentstineman","html_url":"https://github.com/brentstineman","followers_url":"https://api.github.com/users/brentstineman/followers","following_url":"https://api.github.com/users/brentstineman/following{/other_user}","gists_url":"https://api.github.com/users/brentstineman/gists{/gist_id}","starred_url":"https://api.github.com/users/brentstineman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentstineman/subscriptions","organizations_url":"https://api.github.com/users/brentstineman/orgs","repos_url":"https://api.github.com/users/brentstineman/repos","events_url":"https://api.github.com/users/brentstineman/events{/privacy}","received_events_url":"https://api.github.com/users/brentstineman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/milestones/1","html_url":"https://github.com/SimpleCloudManagerProject/Scamp-API/milestones/Preview%20Release","labels_url":"https://api.github.com/repos/SimpleCloudManagerProject/Scamp-API/milestones/1/labels","id":993315,"number":1,"title":"Preview Release","description":"An initial preview release of SCAMP, intended to demonstrate basic workflow/functionality.","creator":{"login":"brentstineman","id":1760519,"avatar_url":"https://avatars.githubusercontent.com/u/1760519?v=3","gravatar_id":"","url":"https://api.github.com/users/brentstineman","html_url":"https://github.com/brentstineman","followers_url":"https://api.github.com/users/brentstineman/followers","following_url":"https://api.github.com/users/brentstineman/following{/other_user}","gists_url":"https://api.github.com/users/brentstineman/gists{/gist_id}","starred_url":"https://api.github.com/users/brentstineman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentstineman/subscriptions","organizations_url":"https://api.github.com/users/brentstineman/orgs","repos_url":"https://api.github.com/users/brentstineman/repos","events_url":"https://api.github.com/users/brentstineman/events{/privacy}","received_events_url":"https://api.github.com/users/brentstineman/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-02-24T13:20:07Z","updated_at":"2015-03-20T21:45:06Z","due_on":"2015-04-15T05:00:00Z","closed_at":null},"comments":0,"created_at":"2015-03-20T21:45:06Z","updated_at":"2015-03-20T21:45:06Z","closed_at":null,"body":"Unique key for AAD will be in the form of \"tid/oid\" from the token after the user has authenticated. Will need to also retrieve the user's name from the provided token (given_name, family_name) and store that in the SCAMP database along with possibly the email address (aka 'unique_name'). \r\n\r\nSCAMP needs to create the DB entry after the user logs in if one doesn't already exist. If it does exist, fetch the user and their related resources and groups. "}}