Closed bhunut-adobe closed 7 years ago
Discovered that Okta User and Group API paginate is little different.
User API is number based - after=200 after=800 while Group API uses ID based system - after=0012Awed0DeF
I have committed the changes to Okta SDK fork and added the following method UsersClient Class - get_all_users() UserGroupsClient Class - get_group_all_users()
https://github.com/bhunut-adobe/oktasdk-python/commit/5c86a94a9fd9a3ea4ad0450055a6effe11317779
I am getting the following error: 400 Invalid Paging Request – Invalid Cursor when trying to paginate List group members
According to documentation GET request support “after” parameter. http://developer.okta.com/docs/api/resources/groups.html#group-member-operations
this is what my url look like,
https://dev-988919.oktapreview.com/api/v1/groups/00g9oyimgriV8kdTI0h7/users?after=200
CRM: https://support.okta.com/help/Case_Detail?id=5002A000015EHUc