When I try to log in with web3auth, I get an error “invalid url” in Chrome and Edge

web3auth in moralis, which was working fine until September.
spits out an error saying invalid url when I try to log in from chrome,edge. It works fine in safari or other browsers.

We are not in a position to update that package.

It was originally working fine. Please help me

"@walletconnect/web3-provider": "^1.8.0-rc.0",
    "@web3-react/core": "^6.1.9",
    "@web3-react/walletlink-connector": "^6.2.14",
    "@web3auth/base": "^1.1.0",
    "@web3auth/web3auth": "^2.1.3",
    "aws-amplify": "^4.3.27",
    "i18next": "^21.9.2",
    "magic-sdk": "^8.1.1",
    "moralis": "^1.11.0",
    "postcss-cli": "^10.0.0",
    "postcss-import": "^15.0.0",
    "postcss-prefix-selector": "^1.16.0",
    "react": "^18.2.0",
    "react-device-detect": "^2.2.2",
    "react-dom": "^18.2.0",
    "react-i18next": "^11.18.6",
    "react-modal": "^3.15.1",
    "react-moralis": "^1.4.0",

f6d2f2bb71cb6007fd59371fd0cf466c0c2d028c_2_690x379

Below is my login code.

const user: MoralisType.User | undefined = await authenticate({
                provider: "web3Auth",
                clientId: clientId,
                theme: 'light',
                loginMethodsOrder: ["google", "twitter", "linkedin", 'kakao', 'line'],
                appLogo : argos,
                rpcTarget : "https://cloudflare-eth.com",
                onComplete : () => document.getElementById('w3a-container')?.remove()
            })

And I’ve already asked the web3auth side. Below are the links to the topics I asked about.
question

Is there anything you can help me with ?

Hi @Seungseok

As per my understanding it looks like web3auth has depreciated its old functions. So it might not be possible to work with existing functions from our v1 sdk.

You will have to migrate to use latest web3auth sdk.