An error related to web3auth login occurred in our deployment environment.
So, in order to check if the same issue exists in other projects, I tested it based on the web3auth nextjs demo code.
Error Case
After clicking the login button, go back without logging in → Click login button again → console error like the image below occurs
We cannot login again until we refresh.
As mentioned in the title, this error occurs only in mobile web and https deployment environment. (not dev, not http, not web).
$ npm run build
$ npm start
Afterwards, we tested using ngrok to create an https environment.
Our ngrok Address: https://63b9-121-165-189-49.ngrok-free.app
Differences from the demo code
- ClientId: BEmSVl10FiDizT2V_ZXMgYP6VYQdATkt2pX01POCJSFfwI82eZVSFSgk4YeEJWaBmzSafsrETo1Tunj_TYJ4nB0
- uxMode: redirect
Please provide the following details too when asking for help in this category:
- SDK Version: 6.1.1v (no-modal)
- Platform: chrome mobile web (AOS, iOS)
- 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: