Skip to main content
Nintex Community Menu Bar
Question

REST integration with token refresh

  • November 10, 2025
  • 1 reply
  • 17 views

Forum|alt.badge.img+3

Hello,

I have to make integration with REST service. To authenticate requests first of all I have to make token request for token service, and then I have to use this token for any other requests for this REST service (max token life time is 1 hour).

REST service what I have to integrate with - ArcGIS enterprise. https://developers.arcgis.com/rest/users-groups-and-items/authentication/#user-logins-1

Can some body give me some advice, how to configure such REST integrations in K2 Five?

Kind regards

1 reply

Forum|alt.badge.img+11
  • Nintex Employee
  • November 12, 2025

I would not be able to go into the details, but as it is a REST endpoint, you can try using K2 REST Service Type:

https://help.nintex.com/en-US/nintexautomation/userguide/current/Content/ServiceBrokers/EndPoints/REST_Endpoint.htm

You would need to configure an outbound oauth resource in K2 that is specific to ArcGIS enterprise and then configure the REST service type to use this oauth resource:

Possibly the ‘User logins with server-based web applications’ oauth flow from ArcGIS:

https://developers.arcgis.com/rest/users-groups-and-items/authentication/#user-logins-with-server-based-web-applications

 

Alternative, if on at least 5.8.1, you may be able to use JSSP instead of REST service type:

https://help.nintex.com/en-US/nintexautomation/devref/5.8.1/Content/Extend/JS-Broker/JSServiceBroker.htm