Loading lib/galaxy/webapps/galaxy/controllers/authnz.py +3 −3 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ class OIDC(JSAppLauncher): @web.json @web.expose def login(self, trans, provider, idphint=None, next=None): def login(self, trans, provider, idphint=None, next=None, external_redirect=None): if not trans.app.config.enable_oidc: msg = "Login to Galaxy using third-party identities is not enabled on this Galaxy instance." log.debug(msg) Loading @@ -93,8 +93,8 @@ class OIDC(JSAppLauncher): if success: # ORNL ONLY logic external_login = trans.get_cookie(trans.app.config.external_login_redirect_cookie) if external_login: if external_redirect: trans.set_cookie(value=external_redirect, name=trans.app.config.external_login_redirect_cookie) return trans.response.send_redirect(url_for(redirect_uri)) return {"redirect_uri": redirect_uri} Loading Loading
lib/galaxy/webapps/galaxy/controllers/authnz.py +3 −3 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ class OIDC(JSAppLauncher): @web.json @web.expose def login(self, trans, provider, idphint=None, next=None): def login(self, trans, provider, idphint=None, next=None, external_redirect=None): if not trans.app.config.enable_oidc: msg = "Login to Galaxy using third-party identities is not enabled on this Galaxy instance." log.debug(msg) Loading @@ -93,8 +93,8 @@ class OIDC(JSAppLauncher): if success: # ORNL ONLY logic external_login = trans.get_cookie(trans.app.config.external_login_redirect_cookie) if external_login: if external_redirect: trans.set_cookie(value=external_redirect, name=trans.app.config.external_login_redirect_cookie) return trans.response.send_redirect(url_for(redirect_uri)) return {"redirect_uri": redirect_uri} Loading