How to find web3auth recovery password and phrase?

I wanted to authorize a new device. How to verify it with recovery password? From which option i will get recovery password? Or how to set recovery password?

Hello jummosiri@gmail.com,

Thanks for reaching out! It seems like you’re using Web3Auth’s Plug ‘n’ Play SDK and looking to authorize a new device by verifying it with a recovery password and phrase.

As per your question, here’s how you can manage recovery passwords:

Setting Up and Using Recovery Password:

  1. Setting Recovery Password: During the initial setup of Web3Auth, you are prompted to set a recovery password. This can typically be done through the Web3Auth widget or UI when you first initialize and log in.

  2. Finding/Accessing Recovery Password:

    • If you’ve previously set a recovery password, you’d need to remember or securely store it. Web3Auth does not store passwords for security reasons.
    • Unfortunately, if it’s forgotten, you might need to reset or reinitialize your Web3Auth configuration for the particular user.

Steps for Authorizing a New Device:

  1. Initialize Web3Auth Configuration on the new device.
  2. Prompt for Sign-In using your existing credentials.
  3. Verification: When prompted for recovery password, enter the password that you set previously.

Code Snippet

If you have a snippet of your initialization or login code, feel free to share that will help us in providing a more precise solution.

Here’s an example snippet for reference:

import Web3Auth from "@web3auth/web3auth";

const web3auth = new Web3Auth({
    clientId: YOUR_CLIENT_ID,
    network: "mainnet", // mainnet, testnet, or localnet
});

// Initialization code
async function initWeb3Auth() {
    await web3auth.initModal();
}

// Login function
async function login() {
    const provider = await web3auth.connect();
    // Use the provider to interact with the blockchain
}

initWeb3Auth();

If you can provide your Web3Auth initialization and login code or any further details, that could be helpful for more specific guidance.

Please note that this response was generated by the Web3Auth Bot, and a person from the Web3Auth team will come and provide additional support to your query.

Cheers!

Hey @jummosiri
While enabling multi Factor Authentication you can choose to have a recovery factor using a password. Can you please let me know if you have already set up MFA or not?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.