stale-accountant-17035
12/15/2023, 12:52 PM/clients , Is there a change in the api end point naming convention in the new v2.1.2 ? if the answer is yes can anyone tell me what set of payload is mandatory to post to the new Api end point ?stale-accountant-17035
12/15/2023, 1:21 PMcurl --location '<http://localhost:9001/admin/clients>' \
--header 'Content-Type: application/json' \
--data '{
"client_name": "",
"client_secret_expires_at": 0,
"client_uri": "",
"grant_types": [
"authorization_code"
],
"jwks": {},
"logo_uri": "",
"metadata": {},
"owner": "",
"policy_uri": "",
"request_object_signing_alg": "RS256",
"response_types": [
"code"
],
"scope": "offline_access offline openid",
"skip_consent": false,
"subject_type": "public",
"token_endpoint_auth_method": "client_secret_basic",
"tos_uri": "",
"userinfo_signed_response_alg": "none"
}
'
and i am receiving this response
{
"audience": "application",
"error": {
"message": "EOF"
},
"http_request": {
"headers": {
"content-type": "application/json",
"postman-token": "XXXXX"
},
"host": "localhost:9001",
"method": "POST",
"path": "/admin/clients",
"query": null,
"remote": "127.0.0.1:36124",
"scheme": "http"
},
"http_response": {
"status_code": 500
},
"level": "error",
"msg": "An error occurred while handling a request",
"service_name": "Ory Hydra",
"service_version": "v2.1.2",
"time": "2023-12-15T13:20:21.46657375Z"
}
Can any one tell me what i am doing wrong here ?stale-accountant-17035
12/20/2023, 6:24 AMstale-accountant-17035
12/20/2023, 6:24 AM