Import
signMessage is no longer called. Connecting a wallet usually outlasts the browser’s click allowance, so open a blank window in the click handler and pass it as popupWindow. Rejects if the wallet is already a login on another account, or if the window is blocked, closed before the link finishes, or times out. See Account linking.