This post describes a simple claims helper block I put together. This block can come in useful if you are using federated authentication and would like to inspect all claims for the current user. 

I created this whilst developing the solution for implementing federated security in EPiServer using Auth0.

When used on the site the block simply lists all claims and their values:

Claims helper block

The code is pretty simple but I wanted to share in case it's useful for anyone:

Any questions or comments? Let me know on @davidknipe or in the comments below


Recommendations for you