Random 500 when authenticating in production

Hello !
During the authentication phase on the forestAdmin interface, the authentication sometimes randomly fails. Looking at the network activity of the browser, it appears that the callback request made to our server returns a 500 with the following response :

{"status":500,"detail":"invalid_client :: The provided client id does not match the id received at first place.}

Clearing the cache does not seem to fix the issue

The oddity of this behaviour comes from the fact that it happens randomly : after repeating several times the authentication, we can finally access our production environment.
Moreover, we also have a develop and staging environment for which we encounter no errors at all for authenticating.

Some more information regarding our environment

  • Project name: Folde
  • Team name: Operations
  • Environment name: Production
  • Agent type & version: Rails, gem: forest_liana 7.4.5


Hello @AugustinBarbe,
We have a documentation or this one about this behavior. Maybe you are in this case.
Tell me if this link helps you :crossed_fingers:
Have a nice day with FA.

1 Like

Hey @Alban_Bertolini
Indeed it is my case, our production runs on multiple instances contrary to our other environments… I should have gone deeper in the documentation ! My bad, and thanks a lot for the help

I’m glad it helps. I hope it will fix your problem. :crossed_fingers: