Sign-in: GitHub login silently loops back to sign-in when API is unreachable
Author: AitorpmCreated Sep 26, 2026Updated Sep 26, 2026
Summary
- After approving GitHub login, the desktop app returns to the sign-in screen with no error
- Repeats on every attempt; the app never gets past sign-in
- Cause was the network: the app couldn't reach api.superset.sh, but nothing in the UI says so
Steps to reproduce
- Make *.superset.sh resolve to a host with a mismatched TLS certificate (e.g. an ISP DNS filter)
- Click Login with GitHub and approve in the browser
- The browser hands the login back to the app
Expected A visible error such as "Can't reach api.superset.sh (network/certificate error)".
Actual The app silently goes back to the sign-in screen. The renderer logs only "[AuthProvider] JWT fetch failed during hydration" / "[AuthProvider] JWT refresh failed: TypeError: Failed to fetch".
Investigation
- The internet provider (Movistar/Telefonica, Spain) intercepts DNS on port 53, even queries to 8.8.8.8/1.1.1.1, and returns filter IPs whose certificate is *.pro.hodor-dns.telefonicatech.com
- DNS-over-HTTPS returns the real Cloudflare IPs, so the macOS system resolver and Chromium's resolver can disagree
- The login callback reached the app ("Processing auth deep link"); the follow-up API calls failed
- Adding the real Cloudflare IPs to /etc/hosts works around it
Related: #2818, #3857, #2865 (the domain being blocked by network filters keeps coming up)
Environment Superset 1.30.1 -> 1.30.2, macOS 14 (Darwin 23.6) x86_64
Source: superset-sh/superset