Skip to main content

In FME Desktop I have a workspace that downloads a file from Autodesk A360, processes the file and then uploads the result to A360.

This process is tested and works fine.

When I upload the workspace to FME Server I also upload the web connection.

I get a warning that I need to re-authorize the web connection on FME Server.

When I try to do that, I get a message that the connection is not authorized.

How do I re-authorize the web connection for Autodesk A360?

Any help is appreciated.

Hi @erik_jan

 

Have you seen this question? https://knowledge.safe.com/questions/43567/arcgis-online-oauth-authorize-issue-on-fme-server.html

 

 

It references ArcGIS Online web connections but I believe the answer from @RylanAtSafe may help you out!

Hi @erik_jan

 

Have you seen this question? https://knowledge.safe.com/questions/43567/arcgis-online-oauth-authorize-issue-on-fme-server.html

 

 

It references ArcGIS Online web connections but I believe the answer from @RylanAtSafe may help you out!
Hi @jlutherthomas

 

I have looked at that answer.

 

But on Autodesk A360 I can not find a location to set/get this OAuth information.

 


A key question: is your FME Server on a private server, or is it an FME Cloud or web-based server?

I had problems before using OAuth connections on Server. When it is a private server then the end applications can't authorize the connection on FME Server because - even if it has an internet connection - it doesn't behave as a public server does.

I'm probably not explaining too well. This article tells you what the issue is and how to workaround it: https://knowledge.safe.com/articles/40215/configuring-fme-server-to-use-oauth-based-web-conn.html

I hope that it helps.


Hi @erik_jan check out https://developer.autodesk.com/en/docs/oauth/v2/tutorials/create-app/ for instructions on how to create an 'app' Here you will need to enter in the redirect URL/URI for FME Server. You can see the Redirect URL/URI for your FME Server by choosing 'Manage Web Services' in the top right of the Web Connections page (see below). It will be in the form of:

http://<yourhostname>/fmeoauth

or 

http://localhost/fmeoauth

if FME Server is on your desktop machine

If that doesn't work try using: 

http://<your servers ip address>/fmeoauth

If you're still having issues with this URL it may be for the reasons @Mark2AtSafe has raised (here is some more info on configuring your FME Server https://docs.safe.com/fme/2017.1/html/FME_Server_Documentation/Content/AdminGuide/Planning-Access-to-Web-Services.htm). Once you've configured your FME Server correctly your redirect URL should work and you can then proceed to get your own Client ID and Client Secret relating to the particular app which you can then enter into your uploaded Web Service.

0684Q00000ArJz8QAF.png


Hi @erik_jan check out https://developer.autodesk.com/en/docs/oauth/v2/tutorials/create-app/ for instructions on how to create an 'app' Here you will need to enter in the redirect URL/URI for FME Server. You can see the Redirect URL/URI for your FME Server by choosing 'Manage Web Services' in the top right of the Web Connections page (see below). It will be in the form of:

http://<yourhostname>/fmeoauth

or 

http://localhost/fmeoauth

if FME Server is on your desktop machine

If that doesn't work try using: 

http://<your servers ip address>/fmeoauth

If you're still having issues with this URL it may be for the reasons @Mark2AtSafe has raised (here is some more info on configuring your FME Server https://docs.safe.com/fme/2017.1/html/FME_Server_Documentation/Content/AdminGuide/Planning-Access-to-Web-Services.htm). Once you've configured your FME Server correctly your redirect URL should work and you can then proceed to get your own Client ID and Client Secret relating to the particular app which you can then enter into your uploaded Web Service.

0684Q00000ArJz8QAF.png

Took me some time before I could try this.

 

But after some trial and error I got it to work.

 

Thanks for the help!

 

 


Reply