Skip to main content

Hi

In the REST Connector, under Advanced, there is the Option “Allow ArcScript in URL”.

 

I have two questions

  1. Does this also apply to the Access Token URL when using OAuth2.0 ?
  2. Would it support dynamic endpoints and formatters like this
cVault('ENVIRONMENT') | equals('TEST', 'https://test-api.domain.com/api/SendTracking', 'https://api.domain.com/api/SendTracking')]

 

Hi Russel,

->Does this also apply to the Access Token URL when using OAuth2.0?

No, it is only supported in the target HTTP URL endpoint for the REST request, meaning you cannot configure the REST connector to dynamically fetch an authentication token from a separate URL. Instead, you must manually input the Auth Token URL directly into the Authentication settings of the REST connector, as it does not support dynamically setting this URL.

->Would it support dynamic endpoints and formatters like this

 

Yes, you can use dynamic endpoints and formatters in the Rest Endpoint URL field, allowing for flexible URL generation based on conditions. However, this capability isn't available for the Auth Token URL field. I tested this approach, and it functioned correctly.

>Vault('id') | equals('2', 'http://localhost:8001/connector/Default/API3/api.rsc/new_test', 'http://localhost:8001/connector/Default/API3/api.rsc/new_test(1)')]

 


Reply