I am working on a galaxy server that uses apache and PAM auth for user login/logout. However, we are encountering an issue that when a user logs out they are redirected to the login page but url includes the redirect location twice.
When the user tries to login from this page it is unsuccessful and it redirects them to the correct login url which is just /login and the user is able to login.
I am struggling to locate where this behavior is coming from and where this redirect is handled. Any tips would be greatly appreciated!