Skip to main content
Question

FME server without notice resets the User created token


martin
Contributor
Forum|alt.badge.img+3

When using FME Workbench 2017.1 for connecting to FME server 2017.1 (purpose of downloading published workspaces), using the saved WEB Connection entry (user credentials of a local FME server user) – sometimes – the FME server without notice resets the User created token.

FME server has LDAP and local FME authorisation.

Why is this happening?

5 replies

Forum|alt.badge.img+6

Hi @martin,

As a first thought, it may be worth checking the TOKEN_REFRESH_INTERVAL parameter to see if this interval aligns with the times you have noticed the token refreshing.


martin
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 27, 2018
annabelleatsafe wrote:

Hi @martin,

As a first thought, it may be worth checking the TOKEN_REFRESH_INTERVAL parameter to see if this interval aligns with the times you have noticed the token refreshing.

Token was create for interval of 2 years and TOKEN_REFRESH_INTERVAL parameter is ok. It only happen when using FME Workbench 2017.1 for connecting to FME server 2017.1, using the saved WEB Connection entry and not every time. Does that mean that when using token you should not use login and password of that token in FME workbench?


rylanatsafe
Safer
Forum|alt.badge.img+13
martin wrote:

Token was create for interval of 2 years and TOKEN_REFRESH_INTERVAL parameter is ok. It only happen when using FME Workbench 2017.1 for connecting to FME server 2017.1, using the saved WEB Connection entry and not every time. Does that mean that when using token you should not use login and password of that token in FME workbench?

Hi @martin, I tried to reproduce this issue but was unable to... If the fmetoken is still valid, then FME Workbench should only refresh it rather than reissue / regenerate it – even upon explicit reauthorization in FME Options.

 

You should be able to freely use a token and continue to login with username / password. Perhaps if you are using the token in a web application, for example, then consider creating a user account for that purpose specifically. Hopefully that will avoid this obvious inconvenience!

 


jeroen
Contributor
Forum|alt.badge.img+8
  • Contributor
  • November 8, 2018
rylanatsafe wrote:
Hi @martin, I tried to reproduce this issue but was unable to... If the fmetoken is still valid, then FME Workbench should only refresh it rather than reissue / regenerate it – even upon explicit reauthorization in FME Options.

 

You should be able to freely use a token and continue to login with username / password. Perhaps if you are using the token in a web application, for example, then consider creating a user account for that purpose specifically. Hopefully that will avoid this obvious inconvenience!

 

Hey,

I had the same problem with my API Token in combination with FME server version 18305 (in FME Cloud) in combination with desktop 18312. Token expired after adding it to the web connections.

I needed the connection for the FMEServerJobSubmitter


rylanatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • November 8, 2018
jeroen wrote:

Hey,

I had the same problem with my API Token in combination with FME server version 18305 (in FME Cloud) in combination with desktop 18312. Token expired after adding it to the web connections.

I needed the connection for the FMEServerJobSubmitter

@JeroenR - Our development team has been working on addressing the experience related to tokens in FME Server. In the current 2019.0 beta builds we enable the user to create multiple API Tokens that are separated from "Login / Session" tokens and the FMEServerWizards/Transformers in FME Desktop.

This separation should prevent unexpected behaviour related to token resets or expiration.


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