
Master practical OAuth, OpenID Connect, and JWT concepts with C# and .NET Core 5.0. Build and extend Microsoft Identity libraries for server and client apps, explore PKCE, and manage claims.
Discover the fundamentals of OAuth, OpenID and JWT, focusing on OAuth 2.0 authorization code flow and implicit flow, including access tokens, refresh tokens, and the authorization server.
Explore OpenID Connect as an extension of OAuth, detailing authorization code, implicit, and hybrid flows, and how ID tokens, claims, and barcodes convey user identity.
Learn how JSON Web Tokens encode claims in a signed, base64-encoded structure with a header, payload, and signature, and how public/private keys verify integrity for secure OpenID Connect flows.
Implement Microsoft Identity for a web app using the Microsoft Identity Framework and OpenID Connect with Azure AD. Configure authentication, authorization, and token flows in a .NET Core web API.
Implement Microsoft identity for a single-page React app using authorization code flow with PKCE, MSAL, and token-based access to Microsoft Graph and a weather API.
this lecture explains why implicit flow existed, introduces PKCE as a short-lived, on-the-fly secret used with the authorization code flow, and shows secure OAuth and OpenID adoption.
Explore consuming any oauth 2.0 openid connect provider server-side in .NET Core by configuring generic endpoints, client id and secret, and PKCE, with token cookies.
Extend a generic oauth provider to capture identity by integrating OpenID Connect and a user information endpoint, fetch user claims via a back-channel request, and map tokens to application claims.
Implement a generic OpenID Connect provider in .NET Core by using the authority and well-known configuration, handling authorization, token, and ID tokens across providers like Microsoft and Google.
Explore four approaches to custom claims management: using claims from your identity provider, building your own provider, managing your own json web tokens, or adopting a front door key hybrid.
Explore how to use optional and group claims from your identity provider, like Azure Active Directory and Google, and consider custom claims or Samal-based claims or an independent identity server.
Explore building a custom identity provider with identity server in a dotnet core app, configuring identity resources, API scopes, clients, and a quick UI for login and consent.
Learn to issue and consume custom JSON Web Tokens with claims, secure API endpoints using JWT bearer authentication, and validate tokens with signing credentials and symmetric keys.
Deploy a front door key model by issuing private JSON web tokens after authenticating with an identity provider via OpenID Connect, then access services with a JWT bearer.
Mandate PKCE for all authorization code flows in OAuth 2.1, remove implicit grant, and require exact redirect URI matching along with one-time or constrained refresh tokens to improve security.
Master practical OAuth, OpenID and JWT concepts in C# .NET Core through real-world examples, as this course delivers insightful and useful guidance with clear takeaways.
OAuth (2.0), OpenID, and JWT pretty much go hand-in-hand with new web application development today. Especially for an enterprise setting where security controls are the top priority!
In this course, we will focus on the key understandings needed to put these technologies and standards into action.
We will build practical examples using .NET Core C# 5.0.
By the end of the course, we will have spanned both basic and complex integrations of Identity services.
Supporting a custom Identity provider in your application is a real bonus (if not a requirement) for Enterprise customers.
Many of the 3rd party services and tools used to implement authentication and authorization are easy to switch on with a few lines of code.
However, without this practical hands-on experience integration OAuth, OpenID, and JWT, Enterprise grown Identity Providers are often out of reach.
This course is for you if:
You've never worked with OAuth, OpenID, or JWT in your applications before, or,
You've used example code from Microsoft documentation with varied success or confidence in the solution, or,
You want to understand how these standards are leveraged in native .NET Core code, or,
You want to understand how to implement identity-based Microservice APIs, or,
You want to integrate with a custom Enterprise Identity Provider built on OAuth or OpenID