I need to be able to create signatures with the private keys generated by the Social Login feature. The use case is creating users in a CMS and logging them in automatically when they connect their wallet.
After initializing the SocialLogin class I’m trying to use the getPrivateKey function, to set up an ethers Wallet to handle the signature.
import error: 'ethers'.'provider' is not exported from 'ethers' (imported as 'ethers').
export 'ethers'.'provider' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, getDefaultProvider, logger, providers, utils, version, wordlists)