I want to sign a message in the frontend using SDK, and I want to verify the signature in my backend.
But I want to sign with user’s private key for authorization purposes in my backend. But using getPrivateKey function doesn’t feel right for this purpose since private key can’t be exposed to browser. Is there a better way from web3auth to sign message with wallet?