webmaster

Debugging OpenID Connect Claim Problems in ASP.NET Core

A common issue with OpenID Connect authentication in ASP.NET Core is that expected claims are missing from the ClaimsPrincipal user object. In this blog post, I will provide some ideas for how to diagnose these types of problems.   What is the purpose of the OpenIDConnect handler? The handler has two main tasks: When the …

Debugging OpenID Connect Claim Problems in ASP.NET Core Read More »

Troubleshooting JwtBearer authentication problems in ASP.NET Core

Troubleshooting JwtBearer authentication problems in ASP.NET Core

A common question that I help developers with on Stack Overflow is how to troubleshoot authentication problems when using the JwtBearer handler. Here I provide some of the best tips from my answers on Stack Overflow The JwtBearer handler We add the JwtBearer handler to the authentication middleware in our ASP.NET Core request pipeline, as …

Troubleshooting JwtBearer authentication problems in ASP.NET Core Read More »

IdentityServer – IdentityResource vs. ApiResource vs. ApiScope

A common question on Stack Overflow is about the different resource types in Dunde IdentityServer. My answer to this question on Stack Overflow is one of my most upvoted answers on Stack Overflow. With this blog post, I want to go further about what these resources are used for and how they affect your IdentityServer …

IdentityServer – IdentityResource vs. ApiResource vs. ApiScope Read More »

ASP.NET Core with OpenID Connect

New Course – ASP.NET Core with OpenID Connect and IdentityServer

Whilst at Edument, we were constantly working to develop new courses. One of those courses was Securing ASP.NET using OpenID Connect and IdentityServer. Learn more about why we developed this particular training here. As a followup, we also created the IdentityServer in Production course, that focus on how to setup and deploy an instance of …

New Course – ASP.NET Core with OpenID Connect and IdentityServer Read More »