Register auth data protection services

This commit is contained in:
dingo
2026-02-28 11:01:31 -05:00
parent aed40398b8
commit 4be98fd8a0
@@ -20,6 +20,9 @@ public static class ServiceRegistration
// gRPC server infrastructure — required before MapGrpcService<AuthGrpcHandler>.
services.AddGrpc();
// ASP.NET Identity token providers depend on Data Protection services.
services.AddDataProtection();
// Identity DbContext (identity schema: accounts, sessions, properties, roles…)
services.AddIdentityDatabase(configuration);