I updated the existing boilerplate application to the latest version but I am facing issues in the authentication when using JWT after user login I am receiving the below error
An unhandled exception occurred while processing the request. AutoMapperMappingException: Missing type map configuration or unsupported mapping.
Mapping types: Object -> PersistedGrantEntity System.Object -> Abp.IdentityServer4.PersistedGrantEntity
My Configuration in startup like
services.AddIdentityServer(options => { options.IssuerUri = _appConfiguration["IdentityServer:baseUrl"]; //options.PublicOrigin = options.IssuerUri; }) .AddDeveloperSigningCredential() .AddInMemoryIdentityResources(IdentityServerConfig.GetIdentityResources()) .AddInMemoryApiResources(IdentityServerConfig.GetApiResources()) .AddInMemoryApiScopes(IdentityServerConfig.GetApiScopes()) .AddInMemoryClients(IdentityServerConfig.GetClients(_appConfiguration)) .AddAbpPersistedGrants<IAbpPersistedGrantDbContext>() .AddAbpIdentityServer<User>(); services.AddAuthentication().AddIdentityServerAuthentication("IdentityBearer",
options =>
{
options.Authority = options.Authority = >
_appConfiguration["IdentityServer:baseUrl"];
options.RequireHttpsMetadata = false;
});