Skip to main content
Question

Issue with IFS Cloud API Integration – Authentication Fails Intermittently


Forum|alt.badge.img+1

Hi everyone,

I'm working on integrating a third-party application with IFS Cloud using the REST APIs, but I’ve been running into an intermittent authentication issue. Sometimes, API requests authenticate and execute successfully, but other times, I get a 401 Unauthorized error, even though the credentials and token generation process remain unchanged.

I’ve double-checked the OAuth flow, ensured that the token is fresh, and even tried increasing the token lifespan, but the issue still persists randomly. Could this be related to session expiration, rate limits, or something specific to how IFS Cloud handles authentication?

Thanks!

3 replies

Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 65 replies
  • March 31, 2025

Hi ​@NoahGreen 

we have similar issues but with our TimeClocks, that from time to time cannot refresh the token and display 401 in the dev tools.

IFS Support thinks it's our reverse proxy, which does backend checks and in case does not get an answer terminates the session. We have adjusted that setting but still have time clocks offline on a weekly basis.

We are on 23R2 and have not yet the option to change lifespan.

Best regards

Dominik


Forum|alt.badge.img+1
  • Author
  • Do Gooder
  • 1 reply
  • April 3, 2025
dominikdurrer wrote:

Hi ​@NoahwebGreen 

we have similar issues but with our Time Clocks, that from time to time cannot refresh the token and display 401 in the dev tools.

IFS Support thinks it's our reverse proxy, which does backend checks and in case does not get an answer terminates the session. We have adjusted that setting but still have time clocks offline on a weekly basis.

We are on 23R2 and have not yet the option to change lifespan.

Best regards

Dominik
 

That’s interesting I hadn’t considered the possibility of a reverse proxy interfering with token refresh. I’ll check if something similar might be happening on our end. Have you noticed any patterns in when the issue occurs, or does it seem random? Also, if you find any further insights from IFS Support, I’d love to hear about them!


Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 65 replies
  • April 3, 2025

@NoahGreen 

IFS support claims they cannot reproduce it and point to our network or reverse proxy.

Unfortunately, the pattern is random. We even restart our time clocks once per day and it still happens.


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