diff --git a/Server/src/SOR.Auth/ServiceRegistration.cs b/Server/src/SOR.Auth/ServiceRegistration.cs index 88006e3..fe86de5 100644 --- a/Server/src/SOR.Auth/ServiceRegistration.cs +++ b/Server/src/SOR.Auth/ServiceRegistration.cs @@ -20,6 +20,9 @@ public static class ServiceRegistration // gRPC server infrastructure — required before MapGrpcService. 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);