<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to handle authentication for inserting records into a Feature Table on AGOL from a java background service? in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-handle-authentication-for-inserting-records/m-p/1244748#M2648</link>
    <description>&lt;P&gt;oAuth is intended to be used as a client side authentication technique for UI based applications where you authenticate yourself by typing in a username and password.&lt;/P&gt;&lt;P&gt;I'm going to consult with a colleague who is more knowledgeable&amp;nbsp; about security for what you are trying to achieve.&lt;/P&gt;&lt;P&gt;Would you describe the process you are running as a server side / backend process?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jan 2023 10:45:30 GMT</pubDate>
    <dc:creator>MarkBaird</dc:creator>
    <dc:date>2023-01-02T10:45:30Z</dc:date>
    <item>
      <title>How to handle authentication for inserting records into a Feature Table on AGOL from a java background service?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-handle-authentication-for-inserting-records/m-p/1244018#M2647</link>
      <description>&lt;P&gt;Hi. I programmed successfully using JavaFX to insert records into a Feature table on AGOL. For authentication, I did use a OAuthTemporary Token from my ESRI developer dashboard.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the issue: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a scheduled background service running (Not JavaFX). The task will be executed once a day at 12AM. In the task, I want to&amp;nbsp;program to insert records into the Feature table on AGOL. I am having issues with ESRI authentication.&lt;/P&gt;&lt;P&gt;If in the task, I use an&amp;nbsp;OAuth Temporary Token -&amp;gt; It will work fine, but the token is shorted live. I need to open my ESRI developer dashboard to obtain an active&amp;nbsp;OAuthTemporary Token everytime the token I am using in my code get expired -&amp;gt;&amp;nbsp;The authentication process will need human involved.&lt;/P&gt;&lt;P&gt;If in the task, I use an OAuth Client ID &amp;amp; Client Secret&amp;nbsp; -&amp;gt; The authentication process will need human involved.&lt;/P&gt;&lt;P&gt;Is there a way to renew an&amp;nbsp;OAuth Temporary Token if it get expired? OR any solution to solve my issues?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 17:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-handle-authentication-for-inserting-records/m-p/1244018#M2647</guid>
      <dc:creator>lochd</dc:creator>
      <dc:date>2022-12-28T17:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle authentication for inserting records into a Feature Table on AGOL from a java background service?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-handle-authentication-for-inserting-records/m-p/1244748#M2648</link>
      <description>&lt;P&gt;oAuth is intended to be used as a client side authentication technique for UI based applications where you authenticate yourself by typing in a username and password.&lt;/P&gt;&lt;P&gt;I'm going to consult with a colleague who is more knowledgeable&amp;nbsp; about security for what you are trying to achieve.&lt;/P&gt;&lt;P&gt;Would you describe the process you are running as a server side / backend process?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 10:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-handle-authentication-for-inserting-records/m-p/1244748#M2648</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2023-01-02T10:45:30Z</dc:date>
    </item>
  </channel>
</rss>

