We are currently utilizing the Web3Auth (modal version) alongside WAGMI, and are facing several issues that are affecting the user experience and functionality of our application.
Reauthentication Issue:
Problem: With the External Wallet login, the session gets terminated after a short period, prompting the user repeatedly reconnect. The popup/modal keeps reappearing until the user reconnect.
Expected Behavior: The session should remain active for a reasonable period without asking users to reconnect continuously.
Disconnection Issue:
Problem: When attempting to disconnect from the Web3Auth connector with WAGMI, the state does not reset correctly. Occasionally, the old wallet information persists, and the state remains unchanged when it should be cleared to idle.
Expected Behavior: The state should reset correctly, clearing all the old wallet information and returning to an idle state upon disconnection.
Modal Closing Issue:
Problem: When the modal is closed, the loading state does not revert back, seemingly frozen in the loading state. This issue persists until the page is refreshed.
Expected Behavior: The loading state should reset when the modal is closed, allowing for seamless further interactions without the need to refresh the page.