Hii,
I am trying to solve Oauth2Sample. I have changed client id in res/string.xml with my registered app client id.
And when i am trying to open the app it is givig error 400 invalid redirect_uri.
Please tell me if anything m missing.
Thanks
Rhitz
Solved! Go to Solution.
Correct answer:
Add redirect uri to "urn:ietf:wg:oauth:2.0:oob" for native application.
Hi Ritanshu,
You need to mention an appropriate redirect uri in the registered app. Edit and update your registered app with appropriate redirect uri. Include both http:// and https:// prefix to avoid any further issues.
Add items—ArcGIS Online Help | ArcGIS
Hope it helps!!!
Thanks,
Jay
Hii Jayanta,
Thank you for responding.
I added "urn:ietf:wg:oauth:2.0:oob" in redirect uri.
It worked fine.
Thanks.
Correct answer:
Add redirect uri to "urn:ietf:wg:oauth:2.0:oob" for native application.