stack/packages
Bilal Godil 3c60b6923e fix(sdk): stop nested cross-domain auth from re-bouncing after the OAuth callback consumed code+state
On the code-return hop of the nested cross-domain handshake, the
constructor schedules callOAuthCallback before
_maybeHandleNestedCrossDomainAuth. The former synchronously strips
code+state from the URL (history.replaceState) before starting its
token exchange, so the latter's 'a real OAuth callback wins' guard read
an already-stripped URL, decided no callback was happening, and bounced
back to the source domain with fresh handoff params - cancelling the
in-flight exchange and restarting the whole redirect chain. Users saw
5-8+ redirects ping-ponging between their app and the hosted components
site before the race happened to resolve.

Capture the URL at construction time and let the nested handler consult
it in addition to the live URL, so a stripped callback still counts as
a callback.
2026-06-10 16:53:39 -07:00
..
cli fix(rde): graceful config load errors + lightweight /config import path (#1557) 2026-06-10 11:40:19 -07:00
dashboard-ui-components chore: update package versions 2026-06-10 18:10:23 +00:00
js fix(rde): graceful config load errors + lightweight /config import path (#1557) 2026-06-10 11:40:19 -07:00
next fix(rde): graceful config load errors + lightweight /config import path (#1557) 2026-06-10 11:40:19 -07:00
react fix(rde): graceful config load errors + lightweight /config import path (#1557) 2026-06-10 11:40:19 -07:00
sc chore: update package versions 2026-06-10 18:10:23 +00:00
shared fix(rde): graceful config load errors + lightweight /config import path (#1557) 2026-06-10 11:40:19 -07:00
tanstack-start fix(rde): graceful config load errors + lightweight /config import path (#1557) 2026-06-10 11:40:19 -07:00
template fix(sdk): stop nested cross-domain auth from re-bouncing after the OAuth callback consumed code+state 2026-06-10 16:53:39 -07:00
ui chore: update package versions 2026-06-10 18:10:23 +00:00