okta / okta-sdk-golang

A Golang SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
https://github.com/okta/okta-sdk-golang
Other
179 stars 143 forks source link

ListApplications function doesn't return apps in first page #363

Open rotemro opened 1 year ago

rotemro commented 1 year ago

Describe the bug?

apps are not retuned from: client.Application.ListApplications(ctx, q)

Screen Shot 2023-01-25 at 14 22 23

appCount is zero - apps were not retuned and there is no error.

What is expected to happen?

apps should be returned from first page. In version v2.13.0 everything works fine - apps are returned as expected. This problem started at version v2.14.0 and happens in v2.15.0 and v2.16.0 as well.

What is the actual behavior?

apps are not retuned.

Reproduction Steps?

call ListApplications function

Additional Information?

No response

Golang Version

go version go1.19.3 darwin/amd64

SDK Version

github.com/okta/okta-sdk-golang/v2 v2.16.0 github.com/okta/okta-sdk-golang/v2 v2.15.0 github.com/okta/okta-sdk-golang/v2 v2.14.0

OS version

Darwin Rotems-MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64

github-actions[bot] commented 1 year ago

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.

github-actions[bot] commented 1 year ago

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.

monde commented 1 year ago

Getting this bug on to our backlog, Okta internal reference: https://oktainc.atlassian.net/browse/OKTA-616668

github-actions[bot] commented 1 year ago

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.