Invalid redirect_uri when trying to Licence app through Portal

7864
2
06-15-2014 06:47 PM
ChrisWhite
New Contributor
I'm getting an exception when trying to licence an app through Portal using the OAuthView as described in the example here. The error message is "Invalid redirect_uri"

The URL I am trying to get to is the root URL for an ArcGIS Online site. I am using the client ID of an application I have created on this ArcGIS Online site. I have not set a redirect URL or anything like that. Does this error message make sense to anyone?
0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi Chris,

Maybe you already figured this out, but you need to set the redirect uri in ArcGIS Online as follows for Android devices...

urn:ietf:wg:oauth:2.0:oob

Should work then.

AbdulFatah
New Contributor III

Hi Chris,

Aaron is true, if you want to use your organization account to license your app in Standard level, you must specify redirect url to ArcGIS Online using : urn:ietf:wg:oauth:2.0:oob (as explained by Aaron). I already successfully using it a few months ago.

redirect_url.png

0 Kudos