AnsweredAssumed Answered

Retrieving All OAuth Clients

Question asked by Dommicentl on Jun 9, 2017
Latest reply on Jun 9, 2017 by dasjo02

We are writing a scheduled task policy to retrieve all OAuth clients from the API Gateway database. However we cannot find the right way to retrieve this information. We are trying to use the "OTK Client Get" assertion, however this assertion only returns the first 100 clients from the database. We do not seem to find a robust way to retrieve all the clients in case there are more than 100 client in the database. There seems to be no while loop mechanism in the assertions with which we can loop over all the clients with the offset. Currently we directly use a JDBC assertion on the OAuth database, but we are afraid that a future update of the Gateway can change this behavior.

Outcomes