Hallo iedereen,<\/P>
<\/P>
Alle tests worden uitgevoerd binnen de ontwikkelserver, met IE of Google Chrome geopend.<\/P>
Met AGOL heb ik een ArcGIS Online Applicatie gemaakt onder MijnContent, optie "Item toevoegen" --> "Een Applicatie"<\/P>
Voor testdoeleinden heb ik de sectie "Web Mapping Application Settings" ingevuld met 2 verschillende url's.<\/P>
- http:\/\/localhost\/[AGOLwebApplication]<\/A> , dit formaat werkt<\/P> - http:\/\/[developement server]\/[AGOLwebApplication]<\/A>, dit formaat faalt<\/P><\/P>Vervolgens ging ik naar Overzicht, Applicatie bekijken om de applicatie te openen.<\/P><\/P><\/P><\/P>Wanneer AGOL de Applicatie opent, twee scenario's:<\/P> - het opent <\/SPAN>http:\/\/localhost\/[AGOLwebApplication]<\/A>, het toont een pop-upvenster "Log alstublieft in om door te gaan". Wanneer ik "OK" selecteer werkt het!!!<\/SPAN><\/P> - het opent http:\/\/[developement server]\/[AGOLwebApplication]<\/A> . In dit geval toont het een pop-upvenster "Log alstublieft in om door te gaan". Wanneer ik "OK" selecteer geeft de pop-up een foutmelding terug<\/STRONG> "ArcGIS Portal Directory ... Ongeldige redirect_uri".<\/STRONG><\/P><\/P>Dit is de URL met fout:<\/P><\/P>https:\/\/mdc.maps.arcgis.com\/sharing\/oauth2\/authorize?client_id=zhTXYHod2BqMxg1X&response_type=token&state=%7B%22portalUrl%22%3A%22http%3A%2F%2Fmdc.maps.arcgis.com%22%7D&expiration=20160&redirect_uri=http%3A%2F%2Fs096v115%2FMyAPP%2Fjimu.js%2Foauth-callback.html<\/A><\/P><\/BODY><\/HTML>
-
Vervolgens ging ik naar Overzicht, Applicatie bekijken om de applicatie te openen.<\/P>
Wanneer AGOL de Applicatie opent, twee scenario's:<\/P>
- het opent <\/SPAN>
- het opent
FAQs—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
What should I do when I try to set the App ID and encounter an Invalid redirect_uri error?It is indicated that the URI of Web AppBuilder is not added or set correctly in the Redirect URI list when you registered the App ID for Web AppBuilder in the ArcGIS portal. Complete the following steps:Go to /server directory of the Web AppBuilder installation, delete signininfo.json file.Review step 4. Update the existing App ID with the correct redirect URIs. see View and update app registration info. Alternatively, you can create a new App ID from the scratch.Refresh the browser running Web AppBuilder.Provide your App ID again, and click Continue.
What should I do when I try to set the App ID and encounter an Invalid redirect_uri error?
It is indicated that the URI of Web AppBuilder is not added or set correctly in the Redirect URI list when you registered the App ID for Web AppBuilder in the ArcGIS portal. Complete the following steps:
Some others hints on resolving this can be found on my blog (older, but most is still helpful)
/blogs/myAlaskaGIS/2015/01/15/tips-and-observations-for-getting-web-appbuilder-developer-edition-installed?sr=search&searchId=c6821912-c68d-4288-be6c-3dce71a0bfb5&searchIndex=1
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.