Added these two mappings to the MapperConfiguration that's in the IdentityAdminCoreManager constructor:
cfg.CreateMap<TClient, Client>();cfg.CreateMap<TScope, Scope>();
Without them I got an error creating clients and scopes since the required properties Client.ClientId, Client.ClientName and Scope.Name weren't copied over.
Added these two mappings to the MapperConfiguration that's in the IdentityAdminCoreManager constructor:
cfg.CreateMap<TClient, Client>();
cfg.CreateMap<TScope, Scope>();
Without them I got an error creating clients and scopes since the required properties Client.ClientId, Client.ClientName and Scope.Name weren't copied over.
Also fixed a typo.