This command works fine after adding the scope offline_access curl --request POST
-curl --request POST
–url ‘https://domain/oauth/device/code’
–header ‘content-type: application/x-www-form-urlencoded’
–data ‘client_id=xsHDHSBD’
–data scope=openid%20offline_access
–data audience=https://domain/api/v2/