Stephen thanks a lot for the first link, I didn’t find it among my first search.
Indeed the site I’m talking about is also using a different URL for backend and frontend, therefore most probably that’s where the issue comes from. I’m really glad that there’s a filter I can use for this situation.
I’m going to give it a try and come back here with the solution when ready!
Thanks again!