<?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: tokanValidity in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288495#M26534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding to the wish list... anybody figure this one out yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i call generateToken, the javascript console shows a bunch of errors with "&lt;/SPAN&gt;&lt;SPAN style="color: #C41A16; font-family: Consolas;"&gt;esri.config.defaults.io.proxyUrl is not set" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Which is true, that value is null.&amp;nbsp; If use the full IdentityManager class and check that property it's also null.&amp;nbsp; No proxy page in my simple test app.&amp;nbsp; Here's what I've tried so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the base class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;require IdentityManagerBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create new IdentityManagerBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create and add a serverinfo object with exact same values when full IdentityManager is used&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call signIn or generateToken&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;both produce the same error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the full class manually:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;require IdentityManager&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no https/token layer is added to the map, yet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create and add a serverinfo object with exact same values when full IdentityManager is used automatically&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call signIn or generateToken&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;both produce the same error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm watching fiddler during all this and it doesn't appear that the token request ever gets sent out, so I'd guess there a missing step or something that needs to configured when this is done manually. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The identity manager widget is nice for simple applications but it's not practical for applications that require special logins and access to secure services where these are different auth methods.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 18:06:53 GMT</pubDate>
    <dc:creator>FredSpataro</dc:creator>
    <dc:date>2012-12-06T18:06:53Z</dc:date>
    <item>
      <title>tokanValidity</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288491#M26530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to generate a token /without/ using the identityManager class.&amp;nbsp; When I try calling generateToken (from IdentityManagerBase()) I get an error "Cannot read property 'tokenValidity' of undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(i.e.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var tokenGetter = esri.IdentityManagerBase();
var token = tokenGetter.generateToken(serverInfo,userinfo);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm at a loss as to where this is being thrown.&amp;nbsp; I expect there is some additional setup I need to do before I call this method, but it escapes me.&amp;nbsp; Can anyone shed light on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2012 16:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288491#M26530</guid>
      <dc:creator>ChrisRiver</dc:creator>
      <dc:date>2012-09-30T16:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: tokanValidity</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288492#M26531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[bump]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workflow doesn't allow for the baked in IdentityManager pop-up.&amp;nbsp; It's just not an option for me.&amp;nbsp; I can't imagine this question has never been asked before, but I haven't found any recorded answer to it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 12:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288492#M26531</guid>
      <dc:creator>ChrisRiver</dc:creator>
      <dc:date>2012-10-03T12:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: tokanValidity</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288493#M26532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to do the same without any success. Did you solve this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288493#M26532</guid>
      <dc:creator>jamieeyre</dc:creator>
      <dc:date>2012-10-23T17:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: tokanValidity</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288494#M26533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm in the same boat. Anyone have an answer to this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve G.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:15:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288494#M26533</guid>
      <dc:creator>StevenGriffith</dc:creator>
      <dc:date>2012-11-09T20:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: tokanValidity</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288495#M26534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding to the wish list... anybody figure this one out yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i call generateToken, the javascript console shows a bunch of errors with "&lt;/SPAN&gt;&lt;SPAN style="color: #C41A16; font-family: Consolas;"&gt;esri.config.defaults.io.proxyUrl is not set" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Which is true, that value is null.&amp;nbsp; If use the full IdentityManager class and check that property it's also null.&amp;nbsp; No proxy page in my simple test app.&amp;nbsp; Here's what I've tried so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the base class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;require IdentityManagerBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create new IdentityManagerBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create and add a serverinfo object with exact same values when full IdentityManager is used&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call signIn or generateToken&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;both produce the same error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the full class manually:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;require IdentityManager&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no https/token layer is added to the map, yet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create and add a serverinfo object with exact same values when full IdentityManager is used automatically&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call signIn or generateToken&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;both produce the same error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm watching fiddler during all this and it doesn't appear that the token request ever gets sent out, so I'd guess there a missing step or something that needs to configured when this is done manually. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The identity manager widget is nice for simple applications but it's not practical for applications that require special logins and access to secure services where these are different auth methods.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 18:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tokanvalidity/m-p/288495#M26534</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2012-12-06T18:06:53Z</dc:date>
    </item>
  </channel>
</rss>

