Posts

Showing posts with the label Webhooks in Sitecore

Working with Webhooks in Sitecore - Part 2

Image
In my previous blog , we discussed the concept of Webhooks. In this blog, we will set up a simple webhook in Sitecore.   To understand the implementation better I have kept the things very simple. So in this example, I will be using No Authorization Item. Talking about it in brief then, you need to set up an Authorization item if your endpoint webhook requires Authentication. Although I would strongly recommend to use Authorization to keep your endpoint safe and secure in real scenarios.   Webhook authentication types   Currently in Sitecore, there are 5 types of Authentication available. 1.  Basic : This requires username and password fields. 2.  Digest : This requires username and password fields. 3.  API Key : This requires Key, Value and Add to fields. 4.  OAuth2.0 Client Credentials Grant : This requires Authority URL, Client ID, Client Secret, Scope, Header Prefix (The default value is Bearer), Additional endpoint base addresses fields. 5.  ...

Working with Webhooks in Sitecore - Part 1

Image
  Working with Webhooks in Sitecore - Part 1 In this blog we will understand the concept of Webhooks and how we can use them in Sitecore. So before jumping into Webhooks in Sitecore, first lets understand what webhooks are?   What is a Webhook? They are typically created to connect/link different applications. They are much like API but different from them. Webhooks are one way that apps can send automated messages or information to other apps.   Consider an example below:     Suppose, there is a user facing front application which showcase the product catalogs to its customers. This application is responsible for booking an order from its users. BUT the logistics is handle by different application.   The second application (logistic app) has setup a webhook which is exposed over http and waiting to receive any confirmed orders. Once someone place any order which can be called as an event for the first application, then along with its operation it is passin...