What I have seen over the years is that the ApplicationURL is not always created in the same way.
Meaning, that sometimes the URL ends with a '/’ and sometimes it doesn't.
Maybe this is causing you issue.
You could check if the URL itsself is working by going to “*ApplicationURL*/oidc/endsession” manually