multiversx / mx-sdk-dapp

A library that holds the core functional logic of a dapp on the MultiversX
66 stars 63 forks source link

Fix unexpected logout in webview (xPortal Hub and Web Wallet Hub) #1209

Closed CiprianDraghici closed 1 month ago

CiprianDraghici commented 1 month ago

Issue

dApps are automatically closed due to an unexpected logout triggered by a slower provider login/initialization in combination with search params manipulation or eventual redirects

Reproduce

Issue exists on version 2.34.2 of sdk-dapp.

Root cause

Fix

Additional changes

Contains breaking changes

[x] No

[] Yes

Updated CHANGELOG

[x] Yes

Testing

[x] User testing [] Unit tests