Hey, i've been implement this code as well
import TorusServiceProvider from "@tkey/service-provider-torus";
const serviceProvider = new TorusServiceProvider({
customAuthArgs:{
baseUrl: `${window.location.origin}/login`,
enableLogging: false,
redirectPathName: "auth",
uxMode: "redirect",
redirectToOpener: true,
//proxyContractAddress: "0x4023d2a0D330bF11426B12C6144Cfb96B7fa6183", // details for test net
network: REACT_APP_TORUS_NETWORK,
networkUrl: REACT_APP_TORUS_NETWORK_URL
}
});
then i got this:

on my local it was working fine, but error on production (deployed on domain)