Posts

Showing posts from December, 2022

Understanding OAuth 2.0 and OpenID Connect with Sitecore

Image
Hello everyone, In this blog we will try to understand Federated Authentication and Authorization concept and will try to see how Sitecore uses this concepts to perform Authentication and Authorization. Let's begin. We will see basic terminology like OAuth 2.0, OpenID Connect etc. which is mostly used in implementing the Federated login mechanism. OAuth 2.0 : OAuth 2.0, which stands for “Open Authorization”, is a standard designed to allow a website or application to access resources hosted by other web apps on behalf of a user. OpenID : OpenID is a unified user identification method released as an open standard that essentially acts as a single user identification system that can be used across multiple websites. It is a wrapper made on top of OAuth 2.0 which provide the functionality of Authentication. Resource Owner : User who is trying to login on an application Client : An Application which provide the interface where user can click on Sign In button. Authorization Server ...

Steps to Enable Sitecore Analytics and Verify Data flow to Shard Databases

Hello everyone, This blog will help us to understand what settings are required to enable Sitecore Analytics in newly installed Sitecore instance. We will also see one common errors which get logged in our logs after setting up of our local instance. We will see the steps required to solve the same. Without wasting time, let's start with the steps. Steps to enable Analytics and verify data is flowing to Shard DB or not 1. Changed the below settings to true in the indexersettings.xml file in xconnect webroot   Path:C:\inetpub\wwwroot\xconnectinstance\App_Data\jobs\continuous\IndexWorker\App_Data\config\sitecore\SearchIndexer      o IndexPIISensitiveData      o IndexAnonymousContactData 2. Rebuilt the xconnect indexes using the following command. Refer  Rebuild XConnectIndex  for same. Path: C:\inetpub\wwwroot\xconnectinstance\App_Data\jobs\continuous\IndexWorker      o Sitecore.XConnectSearchIndexer -rr 3. Rebuilt the Sitecore i...