Hi!
I have the following issue: I have configured two virtual hosts on a single machine for Open OnDemand:
ood-plg.e-science.plood.e-science.pl
(I understand that having two vhosts on the same machine is not the good solution, but it is temporary and necessary for us at this moment. For a short period of time we need two different methods of authentication)
After logging into ood-plg.e-science.pl, users are automatically redirected to ood.e-science.pl. From what I can see in the logs and the attached screenshot below, it looks like the address https://ood-escience.pl:443/pun/sys/dashboard is set somewhere in the configuration and is forcing the redirection (maybe localhost is still set somewhere?):
Question: Where could this redirection to https://ood-escience.pl:443/pun/sys/dashboard be set?
I have checked the configuration files, but I couldn’t find anything that would enforce such behavior. I also checked server logs but didn’t notice anything suspicious. The SSO and Keycloak configuration is definitely correct.
Could this be set somewhere in redirections, or is it handled in the pun backend for the user?
I have tried various modifications but without success:
- In the
/punconfiguration in Apache, I replacedlocalhostwith the server name, but it didn’t help. - I edited the
nginx_stagetemplate, but that also had no effect. - I modified files referenced in the Apache configuration, such as
pun_proxy.lua,pun_proxy_handler.lua, but the issue still persists. - We have set the OIDC domains and checked all redirect settings, but the redirection issue still occurs.
Is there a specific file I should edit to fix this issue?
I would appreciate any help!
Best regards
