I hope you have a great day. In this blog-post I wanted to dedicate some time to an existing project called SI Snitch and the upgrades that I did to make the code Sitecore 9.3 and Sitecore 10 compatible.
What is SI Snitch?
SI Snitch is a project originally developed by Derek Correia, Manager – Technical Consulting at Sitecore. SI Snitch is a small utility for inspecting claims on a Sitecore instance that are coming from a Sitecore Identity Server. The functionality is reading claims passed to Sitecore from Sitecore Identity, after transformation of those claims from Sitecore Identity.
Derek blogged about this tool about a year and a half ago, and the code was targeted at Sitecore 9.1. At the moment I’m in the middle of an upgrade van Sitecore 8.2 to 9.3 for a client of mine, and on the old 8.2 instance they used the Active Directory module that was deprecated with 9.1. So therefore a new Sitecore Host Identity Provider plugin is needed that will be plugged into Sitecore’s Identity Server and will handle the authentication with Active Directory Federation Services (ADFS).
When we’re using Sitecore Identity Server as a Federation Gateway, we can use claims transformations. As the famous Sitecore Identity Server specialist George Chang once said: “You can take claims that are being passed in from the external identity provider and map them to a normalized set of claims that can be shared across multiple identity providers. For example, one identity provider may provide a claim for role using a certain URI but another identity provider might be using a non-standard identifier. This allows you to map the incoming claims to a common identifier which can be used to map user properties in Sitecore”
SI Snitch will help you display these claims that are coming from Identity Server and passed to the Sitecore instance.
So as I said before, the project from Derek was targeted at Sitecore 9.1. So I forked the project, and upgraded it to be compatible with Sitecore 9.3 and Sitecore 10.0.0. At the moment it has 2 releases, and I will update it to be compatible with future versions of Sitecore.
Check out the updated readme file for build, installation instructions and usage.
Big shout out to Derek Correia from Sitecore for the initial codebase. I’m taking over now and will maintain it for future compatibility 😉