This is an automated email from the ASF dual-hosted git repository.

tn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-atr-experiments.git


The following commit(s) were added to refs/heads/main by this push:
     new ac842d1  fix: cleanup response in case no redirect uri is available
ac842d1 is described below

commit ac842d1fd9ae248f39af27d4f9f0ab46b9b122a3
Author: Thomas Neidhart <t...@apache.org>
AuthorDate: Fri Feb 14 19:58:44 2025 +0100

    fix: cleanup response in case no redirect uri is available
---
 asfquart/src/asfquart/generics.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/asfquart/src/asfquart/generics.py 
b/asfquart/src/asfquart/generics.py
index 87456db..56ce825 100644
--- a/asfquart/src/asfquart/generics.py
+++ b/asfquart/src/asfquart/generics.py
@@ -99,7 +99,6 @@ def setup_oauth(app, uri=DEFAULT_OAUTH_URI, workflow_timeout: 
int = 900):
                     status=200,
                     response=f"""
                     Successfully signed in! Welcome, {oauth_data["uid"]}
-                    <script>window.location.href = '{redirect_uri}';</script>
                     """,
                 )
             else:  # Just spit out existing session if it's there


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tooling.apache.org
For additional commands, e-mail: dev-h...@tooling.apache.org

Reply via email to