Bonjour à tous,<\/P>
<\/P>
Je reçois le message d'erreur ci-dessous. J'obtiens cette erreur chaque fois que je déploie une application WAB\/ASP.net. J'ai pu la corriger auparavant mais maintenant j'ai du mal à trouver la raison pour laquelle cela ne fonctionne pas.<\/P>
Erreur : redirect_uri invalide<\/P>
- si je me connecte sur le serveur de staging et exécute l'application
J'ai également fait un autre test, en créant un répertoire virtuel IIS et une application pointant vers le serveur \/\/[stagingserver]\/myapplication et cela échoue aussi.<\/P>
Des idées sur ce que je dois vérifier pour résoudre ce problème ? <\/P>
PS : Quelques informations supplémentaires qui pourraient aider.<\/P>
Le Web Adaptor installé chez moi est situé sur un autre serveur
FOUND IT!!!!!!!
I spend several days trying to figure out why I was getting this error. First I focused on the IIS Web application that was deployed to a staging server. In this application I changed several parameters related to IIS, authentication and security permits, but it did not work. Then I copied the application into another server and I was getting the same error.
Finally the issue was in the web mapping application located in our [http://[MyCompany].maps.arcgis.com ] and used by the application in the config.json "appId" . It was referencing another server, not the one I am currently deploying.
To correct this issues this is what I did:
- select the tab "Settings" and verify that the value URL in
- Also please check the
App Registration
Registered Info
and add your new server in the list of servers.
See attached jpg images for additional information.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.