Closed baszoetekouw closed 4 hours ago
This is not fixed in https://github.com/OpenConext/OpenConext-manage/issues/449. The error indicates the API is used wrong. The REQUESTED_ATTRIBUTES
must be an array.
curl -H 'Content-Type: application/json' -u pdp:secret -X POST -d \
'{"state": "testaccepted","REQUESTED_ATTRIBUTES":["entityid"]}' \
'http://localhost:8080/manage/api/internal/search/saml20_sp'
This is documented: https://github.com/OpenConext/OpenConext-manage/wiki/API#search-api. Suppressing the stack-trace will swallow the error and I don't think this is the desired behaviour.
Sending this query to Manage:
Results in:
Any chance we can handle this more gracefully? Or will the error already be suppressed by the fix for #449 ?