I am working on a social recovery module with a gnosis-safe wallet. For social recovery to work effectively, the user needs to choose another EOA account if the user's previous key is compromised. But I used a safe auth kit to login into my dapp which returns the same EOA address with the same social login.
I want to know, How to generate different EOA accounts with the same social login when a user wants to recover their safe wallet?
So basically when users start to recover their wallet they need to generate a new EOA account with the same social login and after successful recovery when the user tries to login with the same social account this newly created account needs to use. How to achieve this using safe-auth-kit?
Once the instance is created, you can call the signIn() method to start the authentication process showing the web3Auth modal. While you sign in with the same email or social account, the same Ethereum address will be returned.
Reference: https://docs.safe.global/learn/safe-core/safe-core-account-abstraction-sdk/auth-kit
– balajipachai Mar 27 '23 at 17:04