{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/189","repository_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/189/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/189/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/189","id":116428898,"number":189,"title":"Implement as React Component","user":{"login":"zachcarroll","id":4523019,"avatar_url":"https://avatars.githubusercontent.com/u/4523019?v=3","gravatar_id":"","url":"https://api.github.com/users/zachcarroll","html_url":"https://github.com/zachcarroll","followers_url":"https://api.github.com/users/zachcarroll/followers","following_url":"https://api.github.com/users/zachcarroll/following{/other_user}","gists_url":"https://api.github.com/users/zachcarroll/gists{/gist_id}","starred_url":"https://api.github.com/users/zachcarroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachcarroll/subscriptions","organizations_url":"https://api.github.com/users/zachcarroll/orgs","repos_url":"https://api.github.com/users/zachcarroll/repos","events_url":"https://api.github.com/users/zachcarroll/events{/privacy}","received_events_url":"https://api.github.com/users/zachcarroll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/labels/Enhancement","name":"Enhancement","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/milestones/7","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/milestones/Backlog","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/milestones/7/labels","id":1821642,"number":7,"title":"Backlog","description":"","creator":{"login":"tushargupta51","id":803796,"avatar_url":"https://avatars.githubusercontent.com/u/803796?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargupta51","html_url":"https://github.com/tushargupta51","followers_url":"https://api.github.com/users/tushargupta51/followers","following_url":"https://api.github.com/users/tushargupta51/following{/other_user}","gists_url":"https://api.github.com/users/tushargupta51/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargupta51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargupta51/subscriptions","organizations_url":"https://api.github.com/users/tushargupta51/orgs","repos_url":"https://api.github.com/users/tushargupta51/repos","events_url":"https://api.github.com/users/tushargupta51/events{/privacy}","received_events_url":"https://api.github.com/users/tushargupta51/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-06-11T18:18:37Z","updated_at":"2016-07-20T22:24:38Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-11T21:51:02Z","updated_at":"2016-08-13T14:15:30Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/comments/239622950","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/189#issuecomment-239622950","issue_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/189","id":239622950,"user":{"login":"bradtwurst","id":310216,"avatar_url":"https://avatars.githubusercontent.com/u/310216?v=3","gravatar_id":"","url":"https://api.github.com/users/bradtwurst","html_url":"https://github.com/bradtwurst","followers_url":"https://api.github.com/users/bradtwurst/followers","following_url":"https://api.github.com/users/bradtwurst/following{/other_user}","gists_url":"https://api.github.com/users/bradtwurst/gists{/gist_id}","starred_url":"https://api.github.com/users/bradtwurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradtwurst/subscriptions","organizations_url":"https://api.github.com/users/bradtwurst/orgs","repos_url":"https://api.github.com/users/bradtwurst/repos","events_url":"https://api.github.com/users/bradtwurst/events{/privacy}","received_events_url":"https://api.github.com/users/bradtwurst/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T14:15:30Z","updated_at":"2016-08-13T14:15:30Z","body":"what I would find helpful is an example which helps clarify how adal.js fits into a react higher order component (HOC).  Right now, I am attempting to get this work by using info gleaned from various posts and repos, but the effort has been difficult for me.\r\n\r\nlinks:\r\n\r\n- https://github.com/mjrussell/redux-auth-wrapper\r\n- https://blog.mastykarz.nl/building-office-365-web-applications-react/\r\n- https://hjnilsson.com/2016/07/20/authenticated-azure-cors-request-with-active-directory-and-adal-js/\r\n- http://www.cloudidentity.com/blog/2015/02/19/introducing-adal-js-v1/\r\n- http://www.andrewconnell.com/blog/adal-js-cors-with-o365-apis-files-sharepoint\r\n- https://github.com/Azure-Samples/active-directory-javascript-singlepageapp-dotnet-webapi/blob/master/TodoSPA/App/Scripts/app.js\r\n- http://www.cloudidentity.com/blog/2015/02/19/introducing-adal-js-v1/\r\n- http://www.cloudidentity.com/blog/2014/10/28/adal-javascript-and-angularjs-deep-dive/\r\n\r\n\r\n"}}
{"actor":{"display_login":"bradtwurst"}}