Select to view content in your preferred language

Different ways to integrate ArcGIS login in iOS

606
2
Jump to solution
04-07-2014 09:17 PM
BenjaminBhumireddy
New Contributor
Hi All,

I am new to ArcGIS. I am working on integrating ArcGIS into iOS app.

I am looking at examples on Login. From the examples i have found LicenseByOrgAccountSample and OAuthLoginSample.

I registered an app under developes.arcgis.com and got a clientID and replaced the same in sample code.
When I run the iOS app on Simulator, on login page i see my app name, but after entering the credentials, i get an error "ClientId is invalid".

Any help on this is appreciated..


Thanks.
Ben
0 Kudos
1 Solution

Accepted Solutions
SuganyaBaskaran1
Esri Contributor
Hi - After you register your app in developers.arcgis.com, please set redirect_uri to urn:ietf:wg:oauth:2.0:oob as below.

[ATTACH=CONFIG]33186[/ATTACH]

The SDK can then resolve the redirect_uri to your arcgis.com or portal. For more info, please refer here

View solution in original post

0 Kudos
2 Replies
BenjaminBhumireddy
New Contributor
Can anyone please look into this
0 Kudos
SuganyaBaskaran1
Esri Contributor
Hi - After you register your app in developers.arcgis.com, please set redirect_uri to urn:ietf:wg:oauth:2.0:oob as below.

[ATTACH=CONFIG]33186[/ATTACH]

The SDK can then resolve the redirect_uri to your arcgis.com or portal. For more info, please refer here
0 Kudos