dji-sdk / FlightRecordParsingLib

DJI Flight Record Parsing Lib
Other
47 stars 16 forks source link

CORS issue while requesting DJI Keychains API #31

Closed lvauvillier closed 2 months ago

lvauvillier commented 3 months ago

I am working on a WebAssembly target for this library to fully run in the browser.

This is currently not feasible because the DJI endpoint for keychain retrieval (https://dev.dji.com/openapi/v1/flight-records/keychains) cannot be called from the browser due to missing CORS headers.

I am aware that this is not directly related to this repo, but I don't know how to reach the DJI backend team to ask if it is possible to add an Access-Control-Allow-Origin: * header.

Thanks a lot for your help.

dji-dev commented 3 months ago

Agent comment from Hummels Lei in Zendesk ticket #112318:

The library we provide has already implemented the key verification function. You cannot access our website to perform the verification on your own.

°°°