It is an mis-configuration from my end. for some reason, I used to configure “https://domain/v2/logout?returnTo=xxx” as the returnTo parameter in client.logout() API call (Auth0 SDK for SPA)
But it appears that we don’t need “https://domain/v2/logout?returnTo=” in the returnTo parameter string, just specify the redirect URL is sufficient.