{"action":"created","issue":{"url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/issues/5","repository_url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi","labels_url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/issues/5/comments","events_url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/issues/5/events","html_url":"https://github.com/AleksandrRogov/DynamicsWebApi/issues/5","id":235202093,"number":5,"title":"On-Premise Solution?","user":{"login":"con-ssc","id":8189808,"avatar_url":"https://avatars2.githubusercontent.com/u/8189808?v=3","gravatar_id":"","url":"https://api.github.com/users/con-ssc","html_url":"https://github.com/con-ssc","followers_url":"https://api.github.com/users/con-ssc/followers","following_url":"https://api.github.com/users/con-ssc/following{/other_user}","gists_url":"https://api.github.com/users/con-ssc/gists{/gist_id}","starred_url":"https://api.github.com/users/con-ssc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/con-ssc/subscriptions","organizations_url":"https://api.github.com/users/con-ssc/orgs","repos_url":"https://api.github.com/users/con-ssc/repos","events_url":"https://api.github.com/users/con-ssc/events{/privacy}","received_events_url":"https://api.github.com/users/con-ssc/received_events","type":"User","site_admin":false},"labels":[{"id":472481396,"url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"AleksandrRogov","id":1893650,"avatar_url":"https://avatars1.githubusercontent.com/u/1893650?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrRogov","html_url":"https://github.com/AleksandrRogov","followers_url":"https://api.github.com/users/AleksandrRogov/followers","following_url":"https://api.github.com/users/AleksandrRogov/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrRogov/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrRogov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrRogov/subscriptions","organizations_url":"https://api.github.com/users/AleksandrRogov/orgs","repos_url":"https://api.github.com/users/AleksandrRogov/repos","events_url":"https://api.github.com/users/AleksandrRogov/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrRogov/received_events","type":"User","site_admin":false},"assignees":[{"login":"AleksandrRogov","id":1893650,"avatar_url":"https://avatars1.githubusercontent.com/u/1893650?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrRogov","html_url":"https://github.com/AleksandrRogov","followers_url":"https://api.github.com/users/AleksandrRogov/followers","following_url":"https://api.github.com/users/AleksandrRogov/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrRogov/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrRogov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrRogov/subscriptions","organizations_url":"https://api.github.com/users/AleksandrRogov/orgs","repos_url":"https://api.github.com/users/AleksandrRogov/repos","events_url":"https://api.github.com/users/AleksandrRogov/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrRogov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-06-12T11:26:39Z","updated_at":"2017-06-13T14:48:01Z","closed_at":null,"body":"Okay, you have an example on how to authenticate against an online org and with an app in azure. How would you send a simple call to an on-premise org that needs authentication as well, with adfs/ifd ?"},"comment":{"url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/issues/comments/308140946","html_url":"https://github.com/AleksandrRogov/DynamicsWebApi/issues/5#issuecomment-308140946","issue_url":"https://api.github.com/repos/AleksandrRogov/DynamicsWebApi/issues/5","id":308140946,"user":{"login":"AleksandrRogov","id":1893650,"avatar_url":"https://avatars1.githubusercontent.com/u/1893650?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrRogov","html_url":"https://github.com/AleksandrRogov","followers_url":"https://api.github.com/users/AleksandrRogov/followers","following_url":"https://api.github.com/users/AleksandrRogov/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrRogov/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrRogov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrRogov/subscriptions","organizations_url":"https://api.github.com/users/AleksandrRogov/orgs","repos_url":"https://api.github.com/users/AleksandrRogov/repos","events_url":"https://api.github.com/users/AleksandrRogov/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrRogov/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T14:48:01Z","updated_at":"2017-06-13T14:48:01Z","body":"Ok, makes sense. MSDN explicitly states that you must use OAuth when you have IFD set up. \r\n\r\nBut it's actually interesting how Node.js app can connect to Web API just using network credentials and if it's possible to do that when you have IFD. Unfortunately, I do not have access to such environment at this moment, so it may take a while when I have a complete code example. So, I would recommend you to look at configuring OAuth in your on-premise D365 and I believe you still can authenticate with this method even if your app does not have access to the Internet (obviously it must have access to D365)."}}
{"actor":{"display_login":"AleksandrRogov"}}