Support using Fly Zone unlocking certificate without logging into DJI account
CompletedHello!
It's our understanding that once you request to unlock the access to Restricted zone and after the Unlock request has been accepted by the Fly Safe team, you are issued an unlocking certificate that must be downloaded to your drone using the DJI Pilot App. Certainly the MSDK supports this via the downloadFlyZoneLicensesFromServer method. But as it says in the method description, the following is required for that to work:
Gets the licenses for restricted fly zone from the server. In order to get the unlock licenses for the relevant account, please call
logInDJIUserAccount
to log in to the DJI account first,
The part that won't work for us (and probably other security conscious developers) is the need to log in to the DJI user account in the actual third party app. But we did notice there is also a method pushFlyZoneLicensesToAircraft that pushes the license downloaded via above mentioned method the aircraft. We wonder, though this would perhaps require quite a bit of a change on the DJI side, if the following flow could be achieved:
- The user has the option to download the license in the FlySafe GeoZone portal once the license is approved
- The MSDK would need to support to push that license from a specific folder location on the RC or just an option to provide the actual license path as a parameter.
That way, the user would only need to be logged into the FlySafe website and he could do it on his PC/phone and not on the RC itself and then transfer the license to the RC controller to be picked up by the third party app. This would be an improvement in security, as the current flow unfortunately requires the user to also log into the DJI account on the third party app.
-
I apologize for any inconvenience caused. Please be informed that the unlocking certificate is specifically linked to your DJI account. In order to utilize the unlock function, it is imperative to log in to your DJI account. Failure to do so may result in potential disputes and legal ramifications. -
Hello DJI Developer Support
That's very unfortunate. Are you perhaps planning in the future to change that? Maybe with introduction of country specific Unmanned Aircraft System Traffic Management (UTM)?
Also there is another way you could support it via official DJI account:
- Each user could generate an API token in the account dashboard of the https://fly-safe.dji.com/ website
- We could then use that API token to download the certificate either from our app directly or from our server side logic
What do you think about this?
Please sign in to leave a comment.
Comments
3 comments