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

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:

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?

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