Hi FME'ers,
I am having trouble authenticating any OAuth 2.0 web connections with FME Desktop 2018.1 (Build 18528). I am trying to access ArcGIS Online but this problem occurs with any OAuth 2 service. I understand that the issue is with my organisations proxy/firewall but I am trying to diagnose precisely where the failure is occurring. FYI, We use a pac file proxy.
In Options > Network Proxy, I have 'Use system proxy settings' checked. I know I can get access to the internet with this setting because I have access to FME Hub and can use HTTPCaller.
In Web Connection > Manage Services, I select the new connection I created for AGOL and click Test. The credentials screen appears so I enter my credentials and click Sign In. I then get a Network Error dialog box saying "Failed to obtain refresh token: Error retrieving access token. Check Log Window for more details." In the log file I get the message: "407 Proxy Authentication Required" followed my a web page from organisations proxy (in plain HTML) saying that "Authentication Failed, the website you have requested is blocked."
My network team white-listed www.arcgis.com both on the proxy and firewall but that made no difference. They gave my IP free access to the internet and it worked (I set Network Proxy to No proxy) but they are loathe to allow me persistent free access so I need a fix.
What I would like to know is:
- How does FME use OAuth 2.0?
- Where in the chain does it break?
- What does my network team need to fix this?
Many thanks,
David