From ece75981f33a0369c8a1e3b451d7d3aa6947ec2b Mon Sep 17 00:00:00 2001 From: adamhaley Date: Fri, 15 Aug 2025 18:01:20 -0700 Subject: [PATCH] some polish with clean styling on oauth success and oauth failure pages. auto-set reconnect field to false to prevent users from accidentally clearing their auth --- oauth_handler.py | 133 ++++++++++++++++++++++++++++++++++++++++--- web/dropbox_oauth.js | 26 ++++++++- 2 files changed, 150 insertions(+), 9 deletions(-) diff --git a/oauth_handler.py b/oauth_handler.py index 031adc9..9370593 100644 --- a/oauth_handler.py +++ b/oauth_handler.py @@ -121,10 +121,71 @@ async def handle_oauth_callback(request): if success: return web.Response(text=f""" - -

✅ Authorization Successful!

-

{message}

-

This window will close automatically and ComfyUI will refresh...

+ + + + + Dropbox Authorization Successful + + + +
+
✅
+

Authorization Successful!

+

{message}

+

ComfyUI will refresh automatically

+