Mapping tuya
device
#1880
Labels
Defer to TD 2.0
Has Use Case Potential
The use case can be extracted and explained
Security
Selected for Use Case
The issue is relevant for the work and should move to an use case
We are trying to map Tuya devices in node wot (eclipse-thingweb/node-wot#735), but we struggled to fit their authentication mechanism inside the set of Thing Description
SecuritySchemes
. For the time being, we are opting for a workaround: defining a custom security scheme. However, I would like to understand if the tuya signature algorithm actually fits inside of the BearerSecurityScheme.Reading the docs it seems that they are using a custom
alg
(HMAC-SHA256) plus a customformat
(nojws
or anything else). Do you think is it feasible to describe that algorithm using the regular BearerSecurityScheme but with specific values ofalg
andformat
?The text was updated successfully, but these errors were encountered: