<?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: App Authentication with secure service in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221786#M2045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please post the web map JSON (by hiding some information) so I can have a look at it and help you. Are you able to access the same service in Safari browser of the same device? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2011 15:28:46 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2011-08-03T15:28:46Z</dc:date>
    <item>
      <title>App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221782#M2041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - I'm using the ArcGIS for iOS App (not the API) to connect to our server hosting a mobile web map, which has some secure services.&amp;nbsp; The "everyone" services appear in the app just fine.&amp;nbsp; The secure services do prompt the user for authentication, and I enter the proper credentials (that work on the rest endpoint in a browser) but it continuously prompts for username and password.&amp;nbsp; If I cancel it prompts for the next secure service.&amp;nbsp; Eventually, I see the map with unsecured service(s) and the Info view shows the entire list of services in the mobile map.&amp;nbsp; But I don't actually get the data of course.&amp;nbsp; What could be wrong with my security configuration? I'm using ArcGIs Server 10 SP1 and iOS APP 1.8.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 22:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221782#M2041</guid>
      <dc:creator>SpencerLace</dc:creator>
      <dc:date>2011-06-07T22:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221783#M2042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Spencer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Were you ever able to figure this problem out? I am having the same issue and can't seem to find a solution. Is it possible that something needs to be added to the JSON text regarding username and password when adding the map in &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;yourserver&lt;/SPAN&gt;&lt;SPAN&gt;/ArcGIS/mobile?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 14:23:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221783#M2042</guid>
      <dc:creator>AaronBarkhurst</dc:creator>
      <dc:date>2011-06-13T14:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221784#M2043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Spencer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please provide following information, which will help diagnose the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Are you using ArcGIS Server for .NET or Java?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. What type of security is configured? Token or HTTP Based?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;3. If token, what is the Token URL protocol? HTTPS or HTTP? You can check information by &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;host&amp;gt;/arcgis/rest/info&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Is your server has SSL setup? Means, services starts with HTTPS or HTTP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi - I'm using the ArcGIS for iOS App (not the API) to connect to our server hosting a mobile web map, which has some secure services.&amp;nbsp; The "everyone" services appear in the app just fine.&amp;nbsp; The secure services do prompt the user for authentication, and I enter the proper credentials (that work on the rest endpoint in a browser) but it continuously prompts for username and password.&amp;nbsp; If I cancel it prompts for the next secure service.&amp;nbsp; Eventually, I see the map with unsecured service(s) and the Info view shows the entire list of services in the mobile map.&amp;nbsp; But I don't actually get the data of course.&amp;nbsp; What could be wrong with my security configuration? I'm using ArcGIs Server 10 SP1 and iOS APP 1.8.5&lt;BR /&gt;Thanks,&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 15:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221784#M2043</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-06-13T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221785#M2044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not the same problem, but having a problem with secured services. This is with Server v10 with service pack 2 applied and the patch for REST security. ArcGIS for iOS is version 1.8.5 (the app, not the API).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The service is secured using tokens (SQL Server Express). The map opens through the ArcGIS Servers section of ArcGIS for iOS. The basemap layer loads, then the app switches to a view that asks for the credentials. I provide the credentials, the app hangs for a little while, then switches back to the map but never displays the secured service. Tried zooming in and out to get the secured service to load, but it never does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really like to use secured services in this manner. If I can be of any help, contact me at pml at johnsoneng.com.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Lohr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 07:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221785#M2044</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2011-08-03T07:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221786#M2045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please post the web map JSON (by hiding some information) so I can have a look at it and help you. Are you able to access the same service in Safari browser of the same device? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 15:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221786#M2045</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-08-03T15:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221787#M2046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for asking, Nimesh. Sorry I am late to respond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
&amp;nbsp; "operationalLayers": [ {
&amp;nbsp; "url": "http://domain.com/ArcGIS/rest/services/folderName/serviceName/MapServer",
&amp;nbsp; "visibility": true,
&amp;nbsp; "opacity": 1,
&amp;nbsp; "mode": 1,
&amp;nbsp; "title": "JEI WQ Locations"
&amp;nbsp; }],
&amp;nbsp; "baseMap": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMapLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "JEI Water Quality Map"
&amp;nbsp; },
&amp;nbsp; "widgets": null,
&amp;nbsp; "version": "1.1"
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221787#M2046</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2021-12-11T10:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221788#M2047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No probs, Paul!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you seeing the problem with latest app (v2.0.1)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You've mentioned that token based security is configured on sever. In browser, go to "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;host&amp;gt;/arcgis/rest/info" with valid server name and provide information returned by server.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 23:04:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221788#M2047</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-08-24T23:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221789#M2048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick response, Nimesh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Server Information

Current Version: 10.02

SOAP URL: http://FTMSGIS2/arcgis/services

Secure SOAP URL: https://FTMSGIS2:443/arcgis/services

Authentication Information: 
Is Token Based Security : True
Token Service Url : https://gis2.johnsoneng.com/ArcGIS/tokens
Supported Interfaces:&amp;nbsp;&amp;nbsp; REST &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:48:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221789#M2048</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2021-12-11T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221790#M2049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info...so your rest URL is &lt;/SPAN&gt;&lt;A href="http://FTMSGIS2/arcgis/rest/services"&gt;http://FTMSGIS2/arcgis/rest/services&lt;/A&gt;&lt;SPAN&gt; and token URL is &lt;/SPAN&gt;&lt;A href="https://gis2.johnsoneng.com/ArcGIS/tokens"&gt;https://gis2.johnsoneng.com/ArcGIS/tokens&lt;/A&gt;&lt;SPAN&gt;. Is token service setup on different server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest making them either both HTTPS based or disable requireSSL (HTTPS) from token URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if it works after that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 15:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221790#M2049</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-08-25T15:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221791#M2050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Both the rest URL and token URL are on the same machine. I found that I needed the change the internal server name in rest.config to use the external domain name. I did that and enabled https on the services. Still, I am not able to access the map. I changed the services back to not requiring https since this did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the information from the REST info page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SOAP URL: http://gis2.johnsoneng.com/arcgis/services

Secure SOAP URL: https://gis2.johnsoneng.com:443/arcgis/services

Authentication Information: 
Is Token Based Security : True
Token Service Url : https://gis2.johnsoneng.com/ArcGIS/tokens
Supported Interfaces:&amp;nbsp;&amp;nbsp; REST &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:48:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221791#M2050</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2021-12-11T10:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221792#M2051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I logged a support request on the issue. Thanks anyways.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221792#M2051</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2011-08-31T07:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221793#M2052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To enable/disable SSL, you must make changes in the web.config files under rest, services and tokens directory. Please refer help &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000q5000000"&gt;here&lt;/A&gt;&lt;SPAN&gt;...under topic "Secure connection (HTTPS/SSL) required for Token Service".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, please note that the self signed certificates are not supported with ArcGIS for iOS API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 14:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221793#M2052</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-08-31T14:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: App Authentication with secure service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221794#M2053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Very much appreciated, Nimesh.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 17:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/app-authentication-with-secure-service/m-p/221794#M2053</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2011-08-31T17:24:21Z</dc:date>
    </item>
  </channel>
</rss>

