Solved! Go to Solution.
Hi Zach,
I have a similar configuration on 10.3.1 (Portal and Web Adaptor with Windows authentication), with the duration of the token limited to half an hour, no matter what you specify inside the portal preferences.
Do you know if this bug applies also to this version? Is the proxy the only workaround solution to this issue?
Thanks
ESRI tech support submitted this as a bug (NIM097840) in Portal. Basically, Portal's tokens are not honoring expiration's greater than 1 hour.
Dominique...
ESRI has a proxy site available on GitHub that has the latest and greatest builds. We were able to get the token generation working via Portal by ensuring all client requests go through the proxy. We also had to "tweak" the proxy a bit to get it to work within our environment (painful).
https://github.com/Esri/resource-proxy/
Note: One thing that held me up for days was making sure that the correct account had the correct permissions within Portal. We used impersonation within our proxy; therefore we needed to add that service account as a name user in Portal.
Best of luck!
Hi ZKristov
Thanks very much for your reply - I really hope I can this working! Do you dynamically generate the token by having the user name and passowrk in the proxy.config? If so would you be able to reply with a copy of it so I can see the set-up (of course you can block out any of the credentials :)) Obviously due to the bug I can't put a token in, which is what I have set up on another one of my extexternal ArcGIS server boxes, however I can't get the dynamiclly generated token proxy to work.
Thanks again and thanks for the tip about making sure I have the correct user account - I am sure this information will save me a few headaches 🙂
Dominique