IdToken undefine

Hi,
Why I login success but IdToken is undefined. Just got issues today, everything is ok before

const jwt = await web3auth.authenticateUser();
console.log('web3auth provider', jwt);

image

Are you on the latest SDK version 7.2.0 ?

Can you share your package.json file?

My package.json

"@web3auth/base": "^7.0.1",
    "@web3auth/metamask-adapter": "^7.0.1",
    "@web3auth/modal": "^7.2.0",
    "@web3auth/torus-evm-adapter": "^7.0.1",
    "@web3auth/torus-wallet-connector-plugin": "^7.0.1",
    "@web3auth/wallet-connect-v2-adapter": "^7.0.2",

Please upgrade all packages to version 7.2.0 and check

Also, on which network is this happening for your Dapp Mainnet, cyan, Sapphire,etc.?

Hi, I update all to 7.2.0 and now could not login :frowning:

@web3auth/base": "7.2.0",
    "@web3auth/metamask-adapter": "^7.2.0",
    "@web3auth/modal": "^7.2.0",
    "@web3auth/torus-evm-adapter": "^7.2.0",
    "@web3auth/torus-wallet-connector-plugin": "^7.2.0",
    "@web3auth/wallet-connect-v2-adapter": "^7.2.0",

This issue is particularly seen when the session has expired or within 15 minutes the login procedure is not completed. Can you start a new session and check?

How to start new session ?
I close website and restart app nextjs still got this error

Please follow examples from our pnp examples repo and use it to develop your app. It is working fine.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.