You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: superset auth login hangs silently on headless servers when xdg-open is missing #3949
exec(...) is fire-and-forget — its error is never observed. On systems without xdg-open it silently fails and the login URL is never surfaced.
Proposed fix
Surface the URL through a new optional onAuthUrl(url) callback on login(). The command layer prints it via p.log.info(...) right before the browser is launched — works on TTY (clack interleaves with the spinner) and headless alike. Browser auto-launch is unchanged for GUI users.
Then ssh -L 51789:localhost:51789 <host> from your workstation and paste the printed URL into your local browser; the OAuth loopback callback completes through the tunnel.
Looks like #3965 (cross-device login via OAuth code + PKCE, merged 2026-05-01) ships exactly the URL-surfacing this issue asked for — plus a paste-back fallback for SSH/CI. onAuthorizationUrl(url, mode) callback prints "If the browser didn't open, visit: <url>" via p.log.message. Closing as fixed by #3965.
Activity
fix: solve #3949 — surface auth URL for headless servers
johrld commentedon May 2, 2026
Looks like #3965 (cross-device login via OAuth code + PKCE, merged 2026-05-01) ships exactly the URL-surfacing this issue asked for — plus a paste-back fallback for SSH/CI.
onAuthorizationUrl(url, mode)callback prints "If the browser didn't open, visit: <url>" viap.log.message. Closing as fixed by #3965.