Device Preauthorization

Hi Team,

We are following below link to preauthorize the mender device.

In our test mender server we are getting the device as pending and instead of accepting it from GUI, we are trying to authorize it using curl command mentioned in above URL. However we are getting same response back and unable to authorize using curl command. Can anyone please guide me on this issue?

Regards,
Kunal

It sound like your trying to pre-authorize the device after it has already connected rather than before it’s connected, is that correct?