okta-sdk-php icon indicating copy to clipboard operation
okta-sdk-php copied to clipboard

Usability improvments

Open tukataka opened this issue 5 years ago • 3 comments

I want to use method getUsers for getting all users from my account. My account have more, than 200 users. I need to get link to next page in headers. But right now header doesn't save to some place (as is response). As I understand only way to do it is set custom httpClient. It's very uncomfortable. Can you improve this moment ?

tukataka avatar Oct 02 '19 13:10 tukataka

@tukataka - Yes, that is unfortunately a limitation of this particular SDK. The best I can tell you for now is to use your own custom httpClient. We will be updating the SDK and will make sure to address this at that time.

I do not have a definitive time this will be finished, so please keep an eye on this ticket for updates.

bretterer avatar Feb 14 '20 22:02 bretterer

Internal Ref: OKTA-291534

bretterer avatar Apr 17 '20 19:04 bretterer

Agree, the only way to inspect headers is to provide a custom HttpClient to the ClientBuilder that can override sendRequest and store the response.

MrJamesEllis avatar Jun 23 '21 04:06 MrJamesEllis