In Virtual DataPort, you can automatically get the result of the next page by using the **Next page URL** located under the Pagination tab. In order to set Next page URL, I would do the following steps:
* In Virtual DataPort, create the data source by navigating to **New > Data source.
* In Data route, select the path type and click on the **Configure**.
* Click on the **Pagination** tab and enable "the service return the data paginated".
* Select the **Next page URL** and provide the tuple of the next page in the ** Path to “next” token in response**.
The Next Page URL in Virtual DataPort points to the response of that first request using the path specified in the Next Page URL section. Then, in the Subsequent Request it will fetch the details depending on the Base URL. This will continue until a Maximum number of requests is reached or there are no more continuation tokens.
By going through the OKTA documentation I have seen that [Link relation types](https://developer.okta.com/docs/reference/api-overview/#links) can also be used to indicate that the target resource has particular attributes and it contains the link relation , target URL,etc as array under the links. So you can use the Link relation types instead of Link Header.
For more information, you could refer to the [Pagination](https://community.denodo.com/docs/html/browse/7.0/vdp/administration/creating_data_sources_and_base_views/path_types_in_virtual_dataport/http_path#pagination) section of the Virtual DataPort Administration Guide.
Hope this helps!