Is there any secure solution(without exposing a Private key of the user) to automatically sign transactions, which are requested from a DApp, so that user doesn't have to sign each of them manually? I know that in the web3 API exists something like this:
let signedTransaction = await web3.eth.accounts.signTransaction(options, PRIVATE_KEY);
But Private key is exposed here, which is in my opinion a security issue. Am I wrong?