How To: Authenticate / AGSCredentials with an ArcGIS Online (non-user) App Login?

3556
1
10-16-2014 05:39 PM
AndrewHughes
New Contributor

Hi All,

I would like my iOS application to authenticate itself as an app without the user being prompted to login with ArcGIS online.

So far

  • Within the app I can successfully consume secure AGOL services using an AGSCredential via initWithUser (however this is a user login and not app login)
  • Outside the app (JMeter & Java) I can perform an app login (App logins and OAuth 2.0 | ArcGIS for Developers )
  • Within the app I can't successfully perform an app login
  • I can not find any reference to app logins in the iOS API, samples, forums and online doco so assistance would be most welcome. I do however see that they are referenced "The techniques described here apply to JavaScript, Flex, and Silverlight, as well as iOS, Android, and similar client devices."

Can anyone explain to me how this can be done or if this is not the correct approach what the correct approach for app authentication should be.

Thanks in advance,

Andrew

0 Kudos
1 Reply
SerhiiKyrylenko
New Contributor III

I'm wondering if it's possible to achieve App Login using latest at the moment ArcGIS Runtime SDK for iOS v.100.6 after 5 years the initial question raises.