Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KayeeNL/SI-Snitch
A small utility for inspecting claims on a Sitecore instance that are coming from a Sitecore Identity Server.
https://github.com/KayeeNL/SI-Snitch
identityserver identityserver4 sitecore sitecore-10 sitecore-93 sitecore-module sitecore10
Last synced: 3 months ago
JSON representation
A small utility for inspecting claims on a Sitecore instance that are coming from a Sitecore Identity Server.
- Host: GitHub
- URL: https://github.com/KayeeNL/SI-Snitch
- Owner: KayeeNL
- Fork: true (derekcorreia/SI-Snitch)
- Created: 2020-11-05T06:27:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T16:06:51.000Z (almost 2 years ago)
- Last Synced: 2024-01-25T03:42:36.234Z (10 months ago)
- Topics: identityserver, identityserver4, sitecore, sitecore-10, sitecore-93, sitecore-module, sitecore10
- Language: C#
- Homepage:
- Size: 21.3 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Sitecore - SI Snitch - A debugging tool for reading claims passed to Sitecore from Sitecore Identity, after the transformation of those claims from Sitecore Identity. It can be helpful in identifying claims that Sitecore is getting (and in what format) and ensuring group transformations in Sitecore Identity are being processed properly. (Security)
README
# SI Snitch
SI Snitch is a debugging tool for reading claims passed to Sitecore from Sitecore Identity, after transformation of those claims from Sitecore Identity. It can be helpful in:
- Identifying claims that Sitecore is getting, and in what format.
- Ensuring group transformations in Sitecore Identity are being processed properly.**_Since SI Snitch dumps all claims into the log file of the system, it's highly recommended that this only be used in development environments. Use at your own risk!!!_**
Original idea & blogpost from Derek on SI Snitch: [Read the blog post here](https://sitecore.derekc.net/sisnitch-small-tool-to-debug-claims-coming-out-of-sitecore-identity/).
## Usage
There are two ways to use this project:
- **Build the solution yourself and deploy the necessary files needed for SI Snitch.**
- **Install a Sitecore package directly on your Sitecore instance.**### _Build it yourself_:
- Build the SI Snitch solution
- Deploy the SitecoreServices.SISnitch assembly to /bin folder
- Deploy the SitecoreServices.SISnitch.config configuration to the App_Config/Environment folder
- Start up your Sitecore instance and login through Identity Server
- View claims in log files (look for **_'oO SI Snitch Oo'_**).### _Install through a Sitecore package_:
_Right click 'Save link as...' since GitHub doesn't respect url encoding, but markdown needs it for formatting in this readme ;-)_
- [SI-Snitch for Sitecore-9.3](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-9.3.zip) ( Sitecore 9.3)
- [SI-Snitch for Sitecore-10.0.0](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.0.0.zip) ( Sitecore 10.0.0)
- [SI-Snitch for Sitecore-10.0.1](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.0.1.zip) ( Sitecore 10.0.1)
- [SI-Snitch for Sitecore-10.1.0](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.1.0.zip) ( Sitecore 10.1.0)
- [SI-Snitch for Sitecore-10.1.1](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.1.1.zip) ( Sitecore 10.1.1)
- [SI-Snitch for Sitecore-10.1.2](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.1.2.zip) ( Sitecore 10.1.2)
- [SI-Snitch for Sitecore-10.2](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.2.zip) ( Sitecore 10.2)
- [SI-Snitch for Sitecore-10.3](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.3.zip) ( Sitecore 10.3)
- [SI-Snitch for Sitecore-10.4](./Sitecore%20Packages/SI-Snitch%20for%20Sitecore-10.4.zip) ( Sitecore 10.4)The above package can be installed through the normal Sitecore Installation Wizard.
## Output of SI Snitch
The following would be an output of SI Snitch in the Sitecore log file:
- 32856 09:01:15 INFO oO SI Snitch Oo -- Claim: nbf || Value: 1604563275
- 32856 09:01:15 INFO oO SI Snitch Oo -- Claim: exp || Value: 1604564775
- 32856 09:01:15 INFO oO SI Snitch Oo -- Claim: iss || Value: https://sc10_4.identityserver.dev.local
- 32856 09:01:15 INFO oO SI Snitch Oo -- Claim: aud || Value: Sitecore
- 32856 09:01:15 INFO oO SI Snitch Oo -- Claim: iat || Value: 1604563275etc...Look for **_'oO SI Snitch Oo'_** ;-)
## Support
The code, samples and/or solutions provided in this repository are unsupported by Sitecore. Don't even think of opening a support incident related to issues with this code.
## Warranty
The code, samples and/or solutions provided in this repository are for example purposes only and without warranty (expressed or implied). The code has not been extensively tested and is not guaranteed to be bug free.
# Contributors
_Originally developed by:_
Derek Correia - Twitter: [@derekc](https://twitter.com/derekc), GitHub: https://github.com/derekcorreia
_Upgraded + tested to support Sitecore 9.3, Sitecore 10.0.0, Sitecore 10.0.1, Sitecore 10.1.0 , Sitecore 10.1.1, Sitecore 10.1.2, Sitecore 10.2, Sitecore 10.3 & Sitecore 10.4_
Robbert Hock - 15x Sitecore MVP (2010-2024)
Twitter: [@kayeeNL](https://twitter.com/kayeenl), GitHub: https://github.com/KayeeNL