Skip to Content
avatar image
Former Member

401 Authentication error in a REST POST(IOT 4.0 on Cloud Foundry)

Hi All,

We had a working scenario in the NEO platform where the IoT services accepted data from the device based on the OAuth token of the device.

Data was posted to https.//..../com.sap.iotservices.mms/v1/api/http/data/<Device ID> successfully.

Now to implement the same on Cloud Foundry(IoT 4.0), we have a problem.

The configured IoT device doesnt generate an OAuth like in NEO, but a PEM certificate and a private key which our physical device cannot use.

Our physical devices are incapable of 2 way authentication using certificates.

Posting data on https://..../iot/gateway/rest/measures/<Device ID> fails.

Any idea how to get OAuth authentication working on the new IoT(4.0) platform?

Thanks,

Vivek

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer