Mapping claims using OpenID Connect authentication

Hello my dear developers!

How do you feel today?

Recently I have been looking into IAM highly available systems. There are 2 side to this story.

First, your regular database has a hardware limit when scaling horizontally on a cluster.

One way to avoid this would be to have replica sets for a mySQL image with volume storing those changes. The former approach allows you to scale and still have a single source of truth. Check this article for further reading on the matter.

The problem comes when you have multiple clusters at many regions, how do you keep consistency among them? This is yet to be determined.

Meanwhile, if you use JWT tokens there is an excellent way to avoid cluttering them with a tone of claims. This article explains how to make a claim mandatory and how to map extra claims to your user on asp.net core.

I hope that this was as helpful for me as it was for you.

Happy coding and remember…there is life beyond coding 😊

One thought on “Mapping claims using OpenID Connect authentication

Leave a comment