72160c6a10
Root cause: IAP's networksso `wallets` list was hand-written and had no ViralAdSource line, so
/sso/check?r=viraladsource was refused ("unknown site asking") and the browser was sent to the
IAP dashboard: a signed-out visitor to viraladsource.com/my was even dropped there by the silent
check, and a signed-in IAP member could never be signed in on ViralAdSource through IAP.
- networksso.js: providers also answer every site in the hub's GET /v1/sso-sites; ?return=<site>
&to=/path links remember the way back (nsso.ret, known sites only); /sso/resume finishes it
after the code sign-in; a wallet site with no wallet on the account goes to the Wallet tab
first (nsso.wait, no bounce loop) and the wallet link answers next: /sso/resume; the tap state
lives 1 hour.
- server.js: every /go/<site> and ?return= request goes to networksso (no per-site list; fivex
was missing from it too); walletPath /my#wallet; /api/me nssoBackTo; wallet link next/backTo.
- my.js: "Taking you back to <site>" after the wallet link; one line on the Wallet tab while a
site waits for the wallet. my.js?v=20261117back.
- qa/networksso-return.e2e.mjs: hub-only site, silent check, tap, wallet step, return links,
no open redirect. All network sign-in suites and iap-qa member pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>