hi
System.Security.Cryptography.CryptographicException: The system cannot find the file specified. at System.Security.Cryptography.CngKey.Open(String keyName, CngProvider provider, CngKeyOpenOptions openOptions)
Please check and make sure the authserver.pfx file exists on your azure.
What is the result when user have the perrmison?
hi
Access is denied.
It seems the application unable read openiddict.pfx file
What is the code of RedirectClientMiddleware?
If it will control the HTTP request it must be before UseConfiguredEndpoints
hi
Your code is different from our template.
https://github.com/abpframework/abp/blob/dev/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/MyProjectNameAuthServerModule.cs#L211-L233
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/MyProjectNameAuthServerModule.cs#L191-L226
The UseConfiguredEndpoints have to be the last middleware.
See https://github.com/HangfireIO/Hangfire/pull/2350
hi
** If there are calls to app.UseRouting() and app.UseEndpoints(...), the call to app.UseAuthorization() must go between them.**
is this correct?
No. Please check https://github.com/abpframework/abp/blob/dev/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/MyProjectNameAuthServerModule.cs#L211-L233
hi
What are the logs of the AuthServer project?
hi
This is an integrated app service from PermissionManagement.
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Application.Contracts/Volo/Abp/PermissionManagement/Integration/IPermissionIntegrationService.cs#L9
You can use it to check the permissions. it exists on administration service.
https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication