2 articles

Minimal .NET 6 setup for protecting an ASP.NET API with IdentityServer4 ClientCredentials — IdentityServer project, API Bearer configuration, and three NUnit integration tests.

Decorating the default ResourceOwnerPasswordValidator to allow users to authenticate with email or phone number in addition to username, using a custom Mongo-based UserStore.