{
"audience": "https://order/api/v1/",
"scope": "read:orders create:orders update:orders delete:orders",
"client_id": "KuGXglL6f5JT4dA2f9nLyuWbc7Q64dbR"
}
curl --location --request POST 'http://127.0.0.1/oauth/device/code' \
--header 'Content-Type: application/json' \
--data-raw '{
"audience": "https://order/api/v1/",
"scope": "read:orders create:orders update:orders delete:orders",
"client_id": "KuGXglL6f5JT4dA2f9nLyuWbc7Q64dbR"
}'
{
"device_code": "Lwzo070KPyypnmSn5il58GlTM8hSaAxe",
"user_code": "PzqoDlxZ9UN87CAtaZAv23cbDVydkTfV",
"verification_uri": "https://YOUR_DOMAIN/device",
"verification_uri_complete": "https://YOUR_DOMAIN/device?user_code=PzqoDlxZ9UN87CAtaZAv23cbDVydkTfV",
"expires_in": 900,
"interval": 10
}