hi
It seems your pfx
file has a permission problem
Microsoft.IdentityModel.Tokens.SecurityTokenKeyWrapException:
IDX10659: UnwrapKey failed, exception from cryptographic operation:
System.Security.Cryptography.CryptographicException: Access denied.
I generated the new openiddict.pfx with same passPhrase and deployed the build.
How did you generate the pfx
file?
hi
Please set log level to Debug and re-share the logs.txt
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("OpenIddict", LogEventLevel.Verbose)
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
Thanks.
hi
Can you share full Logs.txt
file with liming.ma@volosoft.com?
Thanks.
hi
Send an email to liming.ma@volosoft.com
I will share the source code of PaymentRequestAppService
, then you can troubleshot the problem.
Thanks.
hi
Please share your logs.txt
.
liming.ma@volosoft.com
You can enable the Debug(.MinimumLevel.Debug())
log.
loggerConfiguration
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console());
hi
You can open the solution in Visual Studio and fix the namespace problem. We will fix it in next patch version.
rename using Alfa10.Entities.Books;
to using Alfa10.Books;
rename using Alfa10.Dtos.Books;
to using Alfa10.Books;
Thanks.
hi
I will check this.
hi
AddOrUpdateProperty doesn't support file upload yet
The new property can be string, you can upload an image to your application. Then, set the URL or image for this new property.
: )
hi
Can you read the WEBSITE_LOAD_CERTIFICATES
value from your ASP Net core app?
Environment.GetEnvironmentVariable("WEBSITE_LOAD_CERTIFICATES")
What is the value of WEBSITE_LOAD_CERTIFICATES
?
PreConfigure<OpenIddictServerBuilder>(builder =>
{
//https://documentation.openiddict.com/configuration/token-formats.html#disabling-jwt-access-token-encryption
//https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html
builder.AddSigningKey(new SymmetricSecurityKey(Encoding.UTF8.GetBytes("Abp_OpenIddict_Demo_C40DBB176E78")));
builder.AddEncryptionKey(new SymmetricSecurityKey(Encoding.UTF8.GetBytes("Abp_OpenIddict_Demo_87E33FC57D80")));
});