Re: oauth2 problems - redirect uri issue

1094
3
06-08-2017 12:01 AM
KestutisKaladinskas
New Contributor

@Aaron: i am also facing same problem in my android application. Outhview showing same invalid redirect uri error but i'm not able to find the solution yet. please suggest?

0 Kudos
3 Replies
AlexanderNohe1
Occasional Contributor III

Kestutis Kaladinskas

I believe that you could potentially be getting this error if you do not have the redirect URI specified in the applications page in the online developers console.

ArcGIS for Developers 

Additionally, can you share any code snippets or screenshots that may help in us understanding the issue?

I would also visit this sample:

https://github.com/Esri/developer-support/tree/master/runtime-android/authenticate-with-oauth

0 Kudos
by Anonymous User
Not applicable

Hi Kestutis, The critical bit is to do the following...

Under your Application Settings you need to set Redirect URI as follows....

urn:ietf:wg:oauth:2.0:oob

0 Kudos
KestutisKaladinskas
New Contributor

Thanks Aaron. Using above Uri, my problem get fixed

0 Kudos