Claims Transformation in .NET 6

OAuth2 is a great protocol to authenticate people. And it does just that: Authentication. So.. What about authorization?

Implementing authorization in an API is pretty straightforward. And there are several ways to do it. In many projects, authorization and business logic tend to get mixed up. As a result, the code of the average, simple API endpoint gets more complex. And as a result, features get harder to implement and the application becomes less secure. So, needless to say: Don’t mix the two. But how do you do that?

--

--

--

software developer / consultant @ vxcompany.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Searching for code on Stack Overflow makes you a bad developer?

SRE@Xero: Managing Incidents Part II

KIDEE1: Kids at home

Cloud networking hocus-pocus — Part I Internet VPNs

How to deploy Portainer ?

(Part-1) Fundamentals of Digital Image: RGB Model

Join tables programmatically in Magento 2

Human nature: You’re going to need to persuade people to be

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Albert Starreveld

Albert Starreveld

software developer / consultant @ vxcompany.com

More from Medium

In Memory Caching on .NET 6.0

Applying SOLID Principles with C#

Mock http request in C# for Unit testing

7 Nuget Packages to Improve Your ASP.NET Core Application