Error app.openlogin.com

Hi,

I implement Web3auth SDK Unity by link : https://web3auth.io/docs/content-hub/guides/unity
Sometimes I got error when modal popup app.openlogin.com. That failed User experience , How to fix it or another way to implement for this ?

Thanks

@thienphuoc.huynh Thanks for your recent post.

Could you please confirm if this is happening on Android or iOS? Please share the console logs from the error page to better assist:

This is happening on both Android and iOS.

And how to debug on Android ?

I will debug and give you error log.

You can follow this guide Remote debug Android devices - Chrome for Developers

1 Like

Hi bro,

I got error as picture

Please click the Red Excalmantion mark on the top right hand corner and share the complete logs.

HI bro,

Please note you are using an older version of Openlogin V3 and need to upgrade to the latest version V7 of Web3Auth Releases · Web3Auth/web3auth-web · GitHub

How to update it, I using via Moralis authen web3auth

Could you please paste your initialization snippet here and also the version of the web3auth modules you’re using?

here bro,
My code:

const { authenticate, enableWeb3 } = useMoralis();
await authenticate({
        provider: 'web3Auth',
        clientId: process.env.NEXT_PUBLIC_API_KEY_WEB3AUTH,
        chainId: process.env.NEXT_PUBLIC_MAIN_NET_CHAINID,
        appLogo: process.env.NEXT_PUBLIC_URL + '/logo.png',
        rpcTarget: process.env.NEXT_PUBLIC_RPC_TARGET,
        uxMode: 'popup',
        signingMessage: message,
        throwOnError: true,
      });

and version
image

Hi, this is my error I got:

Probably error from function on app.openlogin.com

File app.382aa97c.js

 k = new URL(n).origin;

anything update ?

My business stuck because this error :(. I paid for service why no-one support fix this bug ?

Hey @thienphuoc.huynh, are you are on the latest version of Web3Auth? If you were, you wouldn’t be redirected to app.openlogin.com.
Please update to the newest version of Web3Auth.

You not support old version ? OMG
Note: I still redirect OK on Safari or Firefox. Just only Chrome not working

Can you give me sample code for Nextjs using Web3auth with Moralis ?

I update to latest version v7.0.1 and still got same error , wassup ?
image

I can help you with that. Updating @web3auth/base to the latest while using deprecated packages like @web3auth/web3auth wouldn’t help. Please note that @web3auth/web3auth is now @web3auth/modal sdk and currently it’s on 7.0.5, if my memory serves me right.
Please update to the latest SDK version and let us know.

No, v5 will be sunset soon while v6 will be sunset by the end of this year. And certainly, we are not supporting the deprecated packages. Hence the name, deprecated.
Refer to this announcement.