fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Update SCIM Retrieve Users API to get past 10k user limitation

Open lyleschemmerling opened this issue 1 year ago • 0 comments

Update SCIM Retrieve Users API to get past 10k user limitation

Problem

When using the Elasticsearch engine the retrieve users API is limited to 10,000 users. With https://github.com/FusionAuth/fusionauth-issues/issues/494 we added the ability to use nextResults to page past the 10k limit. We should update the SCIM API to use this.

https://fusionauth.io/docs/lifecycle/migrate-users/scim/scim#limits

https://fusionauth.io/docs/apis/scim/scim-user#request-2

Solution

The SCIM API already supports paginated parameters. We will need to decide if we can handle the nextResults token internally or if we should return that as part of the retrieve users API and have it follow similar semantics as the user search.

Alternatives/workarounds

We have currently documented this but today you will need to use filters to keep the result set of a query under 10k.

Additional context

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

lyleschemmerling avatar Nov 17 '23 17:11 lyleschemmerling