<?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: Identity Manager - ask once a decade for username in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679910#M63347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additional:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a console.log(idJson) to the loadcredentials function, and it returns the details, but still I get the login box poping up.&amp;nbsp; i thought the whole idea was to get away from this.&amp;nbsp; have i missed something here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2018 14:52:16 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2018-12-13T14:52:16Z</dc:date>
    <item>
      <title>Identity Manager - ask once a decade for username</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679909#M63346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a page derived from &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/widget_identitymanager_client_side.html"&gt;this sample&lt;/A&gt;, but want the saved credentials never to expire. The only users of the site will be on work ipads that are so locked down, any other security isn't required, but the service needs to be a secure one, plus I use the saved username to filter the secure layer, so they see only their cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried adding this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt; esriId&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;credentials&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;expires &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1735689600000&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(the time is a date about 10 years away)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the function that stored the data, but next day I still get challenged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 14:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679909#M63346</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2018-12-13T14:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Manager - ask once a decade for username</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679910#M63347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additional:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a console.log(idJson) to the loadcredentials function, and it returns the details, but still I get the login box poping up.&amp;nbsp; i thought the whole idea was to get away from this.&amp;nbsp; have i missed something here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 14:52:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679910#M63347</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2018-12-13T14:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Identity Manager - ask once a decade for username</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679911#M63348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No answers?&amp;nbsp; Anyone?&amp;nbsp; Please! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 14:39:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identity-manager-ask-once-a-decade-for-username/m-p/679911#M63348</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2019-04-25T14:39:44Z</dc:date>
    </item>
  </channel>
</rss>

