Any way to retrieve "Authorization: Bearer" from within DTH?

(Andreas A.) #1

Is there any way to retrieve a working Authorization: Bearer … value from within a device type handler? I am trying to dynamically call a device’s endpoint from within HTML via JavaScript but the request gets denied due to lack of authorization :cry:

(Tim Slagle) #2

Why not use a SA endpoint to do that for you? Is there a reason you’re trying to do it right to the device?

(Andreas A.) #3

Less code and less custom devices. I currently don’t have a SA…