Question: Can Remote_User Be Changed To Another Header Variable?
0
gravatar for Velayutham, Prakash (Prakash)
4.9 years ago by
United States
Hi, We have a SSO environment provided by Oracle Fusion products and for some reason, they don't like to send over HTTP_REMOTE_USER as a header variable to downstream servers. I have seen it before with other web sites I have integrated with Oracle Access Manager. Is there a way Galaxy can accept another HEADER variable than REMOTE_USER for its external authentication? As an extension: * With just enabling HTTP_REMOTE_USER as a header variable from an external authenticator, Galaxy works without any issues. I tried this with a default Apache/mod_ldap/mod_authnz_ldap setup. * However, when I mix the Oracle gateways into the mix, things break down. * I made OAM send HTTP_AUTH_USER over to Galaxy. * I changed all instances of REMOTE_USER to AUTH_USER in the installed location of Galaxy in my server. * Authentication works fine, but I get issues with HISTORY part of Galaxy (below), when I access a workflow or basically any part of Galaxy that depends on HISTORY Error Traceback: View as: Interactive<https: galaxy.research.cchmc.org="" dataset="" list?="" sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> | Text<htt ps:="" galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=A" ll&f-tags="All&amp;f-deleted=False#"> | XML<https: galaxy.research.cchmc.="" org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=Fal" se#=""> (full)<https: galaxy.research.cchmc.org="" dataset="" list?sort="-updat" e_time&f-name="All&amp;f-tags=All&amp;f-deleted=False#"> ⇝ AttributeError: 'NoneType' object has no attribute 'user' URL: http://xxx.xxx.xxx/dataset/list?sort=-update_time&f-name=All&f-ta gs=All&f-deleted=False Module weberror.evalexception.middleware:364 in respond [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module paste.recursive:84 in __call__ [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module galaxy.web.framework.middleware.remoteuser:91 in __call__ [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module paste.httpexceptions:633 in __call__ [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module galaxy.web.framework.base:132 in __call__ [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module galaxy.web.framework.base:190 in handle_request [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module galaxy.web.framework:98 in decorator [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module galaxy.webapps.galaxy.controllers.dataset:555 in list [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <https: galaxy.researc="" h.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-del" eted="False#"> view<https: galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False#"> Module galaxy.webapps.galaxy.controllers.dataset:1127 in _copy_datasets [cid:523657F2-D1CB-4130-BA82-05CF52796EA4] <htt ps:="" galaxy.research.cchmc.org="" dataset="" list?sort="-update_time&amp;f-name=A" ll&f-tags="All&amp;f-deleted=False#"> view<https: galaxy.research.cchmc.or="" g="" dataset="" list?sort="-update_time&amp;f-name=All&amp;f-tags=All&amp;f-deleted=False" #=""> AttributeError: 'NoneType' object has no attribute 'user' Thanks, Prakash
galaxy • 1.1k views
ADD COMMENTlink modified 4.9 years ago by Jennifer Hillman Jackson25k • written 4.9 years ago by Velayutham, Prakash (Prakash)10
0
gravatar for Jennifer Hillman Jackson
4.9 years ago by
United States
Jennifer Hillman Jackson25k wrote:
Moved to galaxy-dev@bx.psu.edu list http://dev.list.galaxyproject.org/Can-REMOTE-USER-be-changed-to- another-header-variable-td4662950.html -- Jennifer Hillman-Jackson http://galaxyproject.org
ADD COMMENTlink written 4.9 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 177 users visited in the last hour