Ahoj všichni,<\/P>
<\/P>
Dostávám níže uvedenou chybovou zprávu. Tuto chybu dostávám pokaždé, když nasazuji aplikaci WAB\/ASP.net. Předtím jsem to dokázal opravit, ale nyní mám problém najít důvod, proč to nefunguje.<\/P>
Chyba: Neplatný redirect_uri<\/P>
- pokud se přihlásím přímo na staging server a spustím aplikaci
Také jsem provedl další test, vytvořil IIS virtuální adresář a aplikaci směřující na server \/\/[stagingserver]\/myapplication a také to selhalo.<\/P>
Máte nějaké nápady, co bych měl zkontrolovat, abych tento problém vyřešil? <\/P>
PS: Některé další informace, které by mohly pomoci.<\/P>
Web Adaptor nainstalovaný u mě se nachází na jiném serveru
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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.