okta / okta-sdk-python

Apache License 2.0
229 stars 143 forks source link

Users are missing when calling list_users() #376

Open mantofer02 opened 9 months ago

mantofer02 commented 9 months ago

Hi! I was playing around with the SDK and noticed that, in our environment, some users from Okta are missing from the response when list_users() is being called. Is this a known issue or are there any constraints?

gabrielsroka commented 9 months ago

which users?

by default, the API doesn't return DEPROVISIONED users, you have to request them https://developer.okta.com/docs/reference/api/users/#list-all-users