From fa02572d8cf4b01339bed6c63ea1c8630b1e63c4 Mon Sep 17 00:00:00 2001 From: Sprite Date: Sat, 7 Feb 2026 06:16:56 +0000 Subject: [PATCH] Improve OAuth callback page with animated checkmark and auto-close Add styled success page with CSS-animated checkmark, fade-in messaging, and auto-close after 3 seconds with fallback text if browser blocks it. Co-Authored-By: Claude Opus 4.6 (1M context) --- sprite/lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sprite/lib/common.sh b/sprite/lib/common.sh index 527ca772..9cbe8282 100644 --- a/sprite/lib/common.sh +++ b/sprite/lib/common.sh @@ -213,7 +213,7 @@ try_oauth_flow() { # Use a simpler nc approach - pipe response while capturing request ( - local success_response='HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: close\r\n\r\n

Authentication Successful!

You can close this window and return to your terminal.

' + local success_response='HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: close\r\n\r\n

Authentication Successful!

Redirecting back to terminal...

This tab will close automatically

' while true; do # Listen and capture just the first line of the request, then respond