WebAPI
Connect to Dynamics 365 Web API using OAuth 2.0 – Authorization Code Grant Type
Category: Dynamics 365,Microsoft Dynamics 365,oAuth,OAuth 2.0,Web API,WebAPI Author: Nishant Rana Date: 3 months ago Comments: 0

In the previous post we covered Password and Client Credentials grant type, here we’d be looking at the Authorization Code Grant Type. The Authorization Code Grant Type is for the Confidential Clients i.e. basically for the server side web applications that are written in server side language and source code is not available to the … Continue reading “Connect to Dynamics 365 Web API using OAuth 2.0 – Authorization Code Grant Type”
Source: Nishant Rana


Connect to Dynamics 365 Web API using OAuth 2.0 – Client Credentials
Category: Dynamics 365,Microsoft Dynamics 365,oAuth,OAuth 2.0,Web API,WebAPI Author: Nishant Rana Date: 3 months ago Comments: 0

In the last post we learned about connecting to Dynamics 365 Web API using Resource Owner Password Credential (ROPC), here we’d be covering the Client Credentials grant. Client Credentials grant is designed for the client applications who are the resource owner and when basically there are no users involved, a batch (cron) job or a … Continue reading “Connect to Dynamics 365 Web API using OAuth 2.0 – Client Credentials”
Source: Nishant Rana


Connect to Dynamics 365 Web API using OAuth 2.0 – Resource Owner Password Credential (ROPC)
Category: Dynamics 365,Microsoft Dynamics 365,oAuth,OAuth 2.0,Web API,WebAPI Author: Nishant Rana Date: 3 months ago Comments: 0

The ROPC grant type should only be used in scenario when the Client application is absolutely trusted with user credentials and when redirect based flow are not possible. It was introduced for the Legacy Application for quick migration and is now more or less considered obsolete by OAuth Working group, and ideally should not be … Continue reading “Connect to Dynamics 365 Web API using OAuth 2.0 – Resource Owner Password Credential (ROPC)”
Source: Nishant Rana