This is an automated email from the ASF dual-hosted git repository. sbp 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 c520256 Add JS workaround to use of Strict cookies c520256 is described below commit c520256714bc65608a46cb04980f193f8166bc70 Author: Sean B. Palmer <s...@miscoranda.com> AuthorDate: Fri Feb 14 20:31:18 2025 +0200 Add JS workaround to use of Strict cookies --- asfquart/src/asfquart/generics.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/asfquart/src/asfquart/generics.py b/asfquart/src/asfquart/generics.py index de49109..b0e7359 100644 --- a/asfquart/src/asfquart/generics.py +++ b/asfquart/src/asfquart/generics.py @@ -84,7 +84,10 @@ def setup_oauth(app, uri=DEFAULT_OAUTH_URI, workflow_timeout: int = 900): # Otherwise, just say hi return quart.Response( status=200, - response=f"Successfully logged in! Welcome, {oauth_data['uid']}\n", + response=f""" + Successfully signed in! Welcome, {oauth_data['uid']} + <script>window.location.href = '/add-release-candidate';</script> + """, ) else: # Just spit out existing session if it's there client_session = await asfquart.session.read() --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tooling.apache.org For additional commands, e-mail: dev-h...@tooling.apache.org