From 66fc7a6fc8f29a6122df29abcf4e224e59784754 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 4 Dec 2024 10:31:05 -0500 Subject: [PATCH] Fix method sig, cleanup --- client/src/components/User/ExternalIdentities/ExternalLogin.vue | 2 -- lib/galaxy/webapps/galaxy/controllers/authnz.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/components/User/ExternalIdentities/ExternalLogin.vue b/client/src/components/User/ExternalIdentities/ExternalLogin.vue index 5ef028d34618..2bcf4c1f4b5a 100644 --- a/client/src/components/User/ExternalIdentities/ExternalLogin.vue +++ b/client/src/components/User/ExternalIdentities/ExternalLogin.vue @@ -86,8 +86,6 @@ async function submitOIDCLogin(idp: string) { const { data } = await axios.post(loginUrl, formData, { withCredentials: true }); - console.debug("LOGIN POST DATA", data); - if (data.redirect_uri) { window.location = data.redirect_uri; } diff --git a/lib/galaxy/webapps/galaxy/controllers/authnz.py b/lib/galaxy/webapps/galaxy/controllers/authnz.py index 6467ae500429..af7330e5c0c0 100644 --- a/lib/galaxy/webapps/galaxy/controllers/authnz.py +++ b/lib/galaxy/webapps/galaxy/controllers/authnz.py @@ -73,7 +73,7 @@ def index(self, trans, **kwargs): @web.json @web.expose - def login(self, trans, provider, idphint=None): + def login(self, trans, provider, idphint=None, next=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)