Adding type constraint on IdentityBuilder.AddService