If I refresh(Pull-to-refresh) the web page(with web3auth built in) several times(more than 3 times) in an iOS Safari environment, I lose the login information that I previously accessed. In other words, it is logged out.
It was fine in the other environment. (iOS Chrome, AOS …)
The video and screenshots below change the client ID and chain environment (testnet) based on the demo code, and were tested by inserting only some consoles.
-
Refreshing the page multiple times results in the console
...
await web3auth.init();
console.log('@@Web3auth:', web3auth); // added
if (web3auth.provider) {
setProvider(web3auth.provider);
console.log('@@Web3auth.provider:', web3auth.provider); // added
}
...
Please provide the following details too when asking for help in this category:
-
SDK Version: 5.2.0 (react)
-
Platform: iOS (Mobile) Safari
-
Browser Console Screenshots:
-
Related to Custom Authentication? Please provide the following info too: (Optional)
- Verifier Name:
- JWKS Endpoint:
- Sample idToken(JWT)
Please provide the Web3Auth initialization and login code snippet below: