Creating functioning Authentication by example for AspNetCore. These are primarily for learning. They aren't quite ready for production but it should be great prototypes to help you get 90% of the way there.
I have tried to include the very sources I came across. Anything I used to help try and refresh my memory, or solve NetCore 3.x variations, or just best practices I wasn't aware of.
The projects were designed to be working locally (Kestrel), some issues will occur on specific projects I have made notes of.
Analyzing the new raw template and tweaking it as needed in line with the other older projects.
Project for working out a basic Cookie authentication with AspNetCore.
Project for using cookies, claims, and roles, to authenticate properly.
Project for working out a basic Cookie authentication with AspNetCore, EntityFramework Core, and AspNetCore Identity.
A continuation of I01_BasicIdentity but adding in Email functionality from AspNetCore Identity and MailKit.
A continuation of I02_IdentityEmailConfirm, making structural changes to the code, adding ForgotPassword and ResetPassword functionality.
A new project to show how to start using IdentityServer4.
A continuation of IS401_IdentityServerBasics to show how to start using IdentityServer4 with OpenId (but stops at the login.)
A continuation of IS402_IdentityServerMvcClient to show how to setup Serilog, AspNetIdentity, and SqlServer with IdentityServer4.
A continuation of IS403_IdentityServer_AspNetIdentity_SqlServer with prettier logging, custom IdentityUser/IdentityRole, change primary key type, and more!
A continuation of IS404_IdentityServer_AspNetIdentity_CustomUser with replacing some EntityFramework with SqlServer stored procedures.
A focus back on IdentityServer (with AspNetIdentity, SqlServer, and Serilog) authentication and authorization.
A continuation of IS406_IdentityServer continuing authentication and authorization.