One of the simplest and safest ways of JWT token validation in ASP.NET Core API authentication is using OpenID Connect (OIDC). In this video, I show you how we can use it for token validation using the ASP.NET pipeline and custom middleware.
GitHub repo [OpenIdConnectAuthentication]: https://github.com/sa-es-ir/youtube-s...
Handling multiple authentication schemes in ASP.NET: • 🔒Handling multiple authentication sch...
Moments
00:00 - Intro
00:18 - What is the OIDC?
03:53 - Validating JWT token by using JwtBearer method
09:34 - Validating JWT token by using custom middleware
#dotnet #aspnetcore #authentication #openidconnect #oidc
------------------------------------------------------------------------
Follow me on LinkedIn:
/ sa-es-ir