Select to view content in your preferred language

Make(Integromat) - oAuth connection to Portal requires frequent reauthorization

730
3
08-16-2022 05:42 AM
AndrewBowne
Frequent Contributor

I have created an automation using Make (Integromat) that connects to my ArcGIS Enterprise sever using oAuth.  The problem that I am finding is that every few weeks I have to reauthorize the connection.  This proves to be problematic as the intent is for this automation to be... automatic!

Is there a reason I would have to keep reauthorizing?  Or, is there a way I should have it set up so that this doesn't keep happening?

3 Replies
GISKoordinator_LK-SPN
Occasional Contributor

same here but i think is an security feature thing  😎

0 Kudos
AndrewBowne
Frequent Contributor

It seems that the oAuth token times out after 2 weeks of inactivity.  What I did was write a python script that sends an HTTP request to a webhook to keep the oAuth connection alive.  I scheduled the python script to run once a day.  So far so good.

0 Kudos
RogerDunnGIS
Frequent Contributor

Is it enough to have Python use the arcgis API to simply log in as the user on Enterprise or AGOL and then, say, list content that it owns and then close down the connection, in order to keep the connection alive?

0 Kudos