Skip to main content
Question

FME Server: How to Determine what Web Connections are Authorised As


ecx
Supporter
Forum|alt.badge.img+4
  • Supporter

On fme server, web connections we can authorise the named connections as various accounts. How can we check what accounts these are currently authorised as?

 

 

Thanks

5 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Hmm, I’m not 100% sure what you mean about multiple accounts. If you mean that you're able to update connection details on FME Flow then the way to check is to have a look into the connection details on FME Flow. You can usually see this in the UI. There might be some connection types where you can’t see this info though.

Which connection type(s) specifically are you looking at?

If it’s an Oauth connection then you most likely will not be able to see the account name as usually FME Server will just store the token. You might have to use an API call to the web service to get the account name of the connection. 


ecx
Supporter
Forum|alt.badge.img+4
  • Author
  • Supporter
  • August 8, 2024
virtualcitymatt wrote:

Hmm, I’m not 100% sure what you mean about multiple accounts. If you mean that you're able to update connection details on FME Flow then the way to check is to have a look into the connection details on FME Flow. You can usually see this in the UI. There might be some connection types where you can’t see this info though.

Which connection type(s) specifically are you looking at?

If it’s an Oauth connection then you most likely will not be able to see the account name as usually FME Server will just store the token. You might have to use an API call to the web service to get the account name of the connection. 

 

 

Example: 

Imagine I have a web connection to esri portal on my FME server, this connection could be authorised as user1, user2, user3, serviceaccount1, productionaccount2 etc.

Currently, it seems there is no way to check what account that web connection is currently using as authorisation to connect to esri portal. 


mattmatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • August 13, 2024

@ecx I’m not aware of any way. With OAuth2.0, which is what most web connections use, the credentials are never stored. They are only used to obtain a token during initial authorization that is used for future authentication. 

What many users will do it put the account name in the web connection name so they know which is which.


ecx
Supporter
Forum|alt.badge.img+4
  • Author
  • Supporter
  • August 13, 2024
mattmatsafe wrote:

@ecx I’m not aware of any way. With OAuth2.0, which is what most web connections use, the credentials are never stored. They are only used to obtain a token during initial authorization that is used for future authentication. 

What many users will do it put the account name in the web connection name so they know which is which.

I see, this a little disappointing. Occasionally connections get overwritten or authed as another user, which can be hard to debug. Maybe a record of the last user who updated that connection (or authorised it via server) and date would be useful, if that could be added.


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • September 20, 2024

As mentioned, not all places will be able to inform you of the user that has authorised. But I do check this on the Esri environment, which does return the username via a call to URL/sharing/rest/portals/self

I have found that very useful over a long time, for the exact issue you mentioned.

 

Even built myself a custom transformer to do it.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings