drogue-iot / drogue-cloud

Cloud Native IoT
https://drogue.io
Apache License 2.0
114 stars 30 forks source link

command endpoint doesn't accept access tokens authentication #218

Closed jbtrystram closed 2 years ago

jbtrystram commented 2 years ago

when authenticated using an access token :

drg command bar temp  --payload '{"set": 21}'  
ERROR [drg::util] Error : 401 Unauthorized

when using an openID JWT :

drg command bar temp  --payload '{"set": 21}'          
Command temp accepted
ctron commented 2 years ago

Should be closed