Handling Refresh Tokens with the Qlik REST Connector

    When dealing with OAuth2, it is common to have a two-step process which involves you first requesting a refresh token, and then using that returned access token in the subsequent request. Qlik’s out of the box REST connector doesn’t allow for the input of variable parameters in its UI, so at first glance, it appears as if every time you load your application, you would have to first generate a new refresh token and manually input it into the second REST call. There is in fact a way to make this process dynamic however by levering the ‘WITH CONNECTION’ clause. We must alter the existing connection in the script to make it dynamic.