Hello everyone,
I recently deployed my application to AWS S3 and attempted to integrate it with ArcGIS Online for user authentication via OAuth 2.0. Unfortunately, I encounter the following error when trying to log in:
ArcGIS Portal Directory
Error
Invalid redirect_uri
Error: 400
During configuration, I replaced the contents of the config.json file as follows: Previous content:
"attributes": {
"portalUrl": "https://exb.maps.arcgis.com",
"isWebTier": false,
"clientId": "",
"title": "XBLD_AWS",
"description": "XBLD_AWS",
"type": "Web Experience",
"thumbnail": null
}
Replaced with:
"attributes": {
"portalUrl": "https://exb.maps.arcgis.com",
"clientId": "xy"
}
I assume this change shouldn’t matter because after reverting to include the additional information, the app behaves exactly the same.
I’d greatly appreciate any help or suggestions to get the app working. Thank you in advance!
Daniel