okta / okta-sdk-python

Apache License 2.0
239 stars 142 forks source link

Users are missing when calling list_users() #376

Open mantofer02 opened 1 year ago

mantofer02 commented 1 year 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 1 year 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