Hi @gterdem, thanks for the answer
We have been trying to use this without luck. Is there something more we need to do? There is some puzzle missing..
Based on this https://support.abp.io/QA/Questions/4513/Gdpr-Module-Unauthorized-to-download-Personal-Data#answer-3a098ab9-16d8-036d-f117-06e18b42d998, @EngincanV I updated to 7.0.2 but this has not fixed my issue.
Is there anything I can try out?
CDN cache got flushed and Redis is up and running (flushed that also)
But I see in the log we are getting AuthenticationScheme: Bearer was challenged
.
2023-02-20 15:31:39.976 +00:00 [INF] CORS policy execution successful.
2023-02-20 15:31:39.984 +00:00 [INF] Executing endpoint 'Volo.Abp.Gdpr.GdprRequestController.GetDownloadTokenAsync (Volo.Abp.Gdpr.HttpApi)'
2023-02-20 15:31:40.001 +00:00 [INF] Route matched with {controller = "GdprRequest", area = "gdpr", action = "GetDownloadToken", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Gdpr.DownloadTokenResultDto] GetDownloadTokenAsync(System.Guid) on controller Volo.Abp.Gdpr.GdprRequestController (Volo.Abp.Gdpr.HttpApi).
2023-02-20 15:31:40.142 +00:00 [INF] Request starting HTTP/1.1 GET https://myAPI.azurewebsites.net/api/app/financial/get-payment-host?FilterDateTime=2023-02-20T15%3A31%3A33.8560000Z&Sorting=&SkipCount=0&MaxResultCount=10&api-version=1.0 - -
2023-02-20 15:31:40.143 +00:00 [INF] CORS policy execution successful.
2023-02-20 15:31:40.144 +00:00 [INF] Executing endpoint 'BSR.Beinni.Controllers.Financials.FinancialController.GetHostToTenantPaymentInfo (BSR.Beinni.HttpApi)'
2023-02-20 15:31:40.144 +00:00 [INF] Route matched with {area = "app", controller = "Financial", action = "GetHostToTenantPaymentInfo", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[BSR.Beinni.Financials.Dto.FinancialInfoWithTenantOutputDto]] GetHostToTenantPaymentInfo(BSR.Beinni.Financials.Dto.FinancialPagedAndSortedInputDto) on controller BSR.Beinni.Controllers.Financials.FinancialController (BSR.Beinni.HttpApi).
2023-02-20 15:31:40.174 +00:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Gdpr.DownloadTokenResultDto'.
2023-02-20 15:31:40.181 +00:00 [INF] Executed action Volo.Abp.Gdpr.GdprRequestController.GetDownloadTokenAsync (Volo.Abp.Gdpr.HttpApi) in 180.7125ms
2023-02-20 15:31:40.181 +00:00 [INF] Executed endpoint 'Volo.Abp.Gdpr.GdprRequestController.GetDownloadTokenAsync (Volo.Abp.Gdpr.HttpApi)'
2023-02-20 15:31:40.182 +00:00 [INF] Request finished HTTP/1.1 GET https://myAPI.azurewebsites.net/api/gdpr/requests/download-token?id=cc4b2bfc-8b1c-1f8c-60b7-3a077937f944&api-version=1.0 - - - 200 - application/json;+charset=utf-8 206.0568ms
2023-02-20 15:31:40.325 +00:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Application.Dtos.PagedResultDto`1[[BSR.Beinni.Financials.Dto.FinancialInfoWithTenantOutputDto, BSR.Beinni.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-02-20 15:31:40.326 +00:00 [INF] Executed action BSR.Beinni.Controllers.Financials.FinancialController.GetHostToTenantPaymentInfo (BSR.Beinni.HttpApi) in 181.9332ms
2023-02-20 15:31:40.326 +00:00 [INF] Executed endpoint 'BSR.Beinni.Controllers.Financials.FinancialController.GetHostToTenantPaymentInfo (BSR.Beinni.HttpApi)'
2023-02-20 15:31:40.326 +00:00 [INF] Request finished HTTP/1.1 GET https://myAPI.azurewebsites.net/api/app/financial/get-payment-host?FilterDateTime=2023-02-20T15%3A31%3A33.8560000Z&Sorting=&SkipCount=0&MaxResultCount=10&api-version=1.0 - - - 200 - application/json;+charset=utf-8 183.6733ms
2023-02-20 15:31:40.442 +00:00 [INF] Request starting HTTP/1.1 GET https://myAPI.azurewebsites.net/api/gdpr/requests/data/cc4b2bfc-8b1c-1f8c-60b7-3a077937f944?token=574ac128-3118-4bad-bee4-1173002415da - -
2023-02-20 15:31:40.443 +00:00 [INF] Executing endpoint 'Volo.Abp.Gdpr.GdprRequestController.GetUserDataAsync (Volo.Abp.Gdpr.HttpApi)'
2023-02-20 15:31:40.462 +00:00 [INF] Route matched with {controller = "GdprRequest", area = "gdpr", action = "GetUserData", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Content.IRemoteStreamContent] GetUserDataAsync(System.Guid, System.String) on controller Volo.Abp.Gdpr.GdprRequestController (Volo.Abp.Gdpr.HttpApi).
2023-02-20 15:31:40.632 +00:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-02-20 15:31:40.633 +00:00 [INF] Executed action Volo.Abp.Gdpr.GdprRequestController.GetUserDataAsync (Volo.Abp.Gdpr.HttpApi) in 171.1934ms
2023-02-20 15:31:40.633 +00:00 [INF] Executed endpoint 'Volo.Abp.Gdpr.GdprRequestController.GetUserDataAsync (Volo.Abp.Gdpr.HttpApi)'
I can't see any other relavant logs in the Auth service or in these API logs...
Hi we figured out that our Blazor WASM issue with this is still an issue (we are on 7.0.1 separte Identity)
https://support.abp.io/QA/Questions/4071/401-error-when-trying-to-download-GDPR-information
We still get a 401 error and have no idea what we need to do/add to gett it to work (if there is somethint we can do on our side).
Btw commenting here because our issue is locked..
First I´m trying to figure out if/how I can do this without loading files first into memory but if I get that to work it would be great to know if anybody has done anything like this here?
I found this good answer and I think this should be possible but I need to get a SAS token and enable Cross-Origin Resource Sharing (CORS) support for Azure Storage
Is this something that can be built into the current ABP.io Blob storage wrapper?
Hi
Do you have a workaround for me or is this a bug and if so will it be fixed in 7.0.2.
Any news on this liangshiwei?
Should be super easy to test on your end and see it fail, that is if its not something else I’m doing wrong (and you can hopefully help me with)
Don´t get your hopes up... there are no errors on my side.. so these gaps will most likely continue on your side .