Authorization: Bearer ********************
{
"client_id": "lxdpL9S1TwWQz1iZWG55VtT_UmY6DjDS",
"audience": "https://order.mydomain/api/v1/",
"scope": [
"read:orders",
"update:orders"
]
}
curl --location -g --request POST 'https://..authok.cn/api/v1/client-grants' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "lxdpL9S1TwWQz1iZWG55VtT_UmY6DjDS",
"audience": "https://order.mydomain/api/v1/",
"scope": [
"read:orders",
"update:orders"
]
}'
{
"id": "cgr_fj2iof3jojijisodfj2",
"client_id": "lxdpL9S1TwWQz1iZWG55VtT_UmY6DjDS",
"audience": "https://order.mydomain/api/v1/",
"scope": [
"read:orders",
"update:orders"
]
}