WrenSecurity / wrenidm

Community‐developed identity management system with a flexible data model, multiple extension points and scripting support, including JavaScript and Groovy.
https://wrensecurity.org/
Other
40 stars 19 forks source link

Support "_totalPagedResultsPolicy" parameter when calling openidm.query #188

Closed krausvo1 closed 4 months ago

krausvo1 commented 5 months ago

Parameters for openidm.query cannot contain _totalPagedResultsPolicy parameter at the moment. If the parameter is included, following error appears:

{"code":400,"reason":"Bad Request","message":"Unrecognized request parameter '_totalPagedResultsPolicy'","detail":{}}

This parameter is necessary to support query requests with paging. Query request done via REST API supports this parameter already, e.g. GET /managed/user?_queryFilter=true&_totalPagedResultsPolicy=EXACT&_pageSize=10&_pagedResultsOffset=0.

krausvo1 commented 5 months ago

The parameter probably needs to be added to ResourceFunctions#query method.

pavelhoral commented 4 months ago

Fixed by https://github.com/WrenSecurity/wrenidm/pull/189