Skip to main content

How to recover access to your account

Learn how to recover access to your account after losing your two-factor authentication (2FA) device.

Ana Pascoal avatar
Written by Ana Pascoal
Updated over a month ago

When you have two-factor authentication (2FA) set up and enabled for your profile, you must have a device with the authenticator app to obtain the random code needed to log in to Snyk API & Web.

However, you may find yourself in a situation where you lost access to the device and cannot obtain the code. You have several options to overcome this situation:

  1. Use a recovery code from the ones provided by Snyk API & Web during your 2FA account setup.

  2. Reset your 2FA with the help of the Snyk API & Web account owner.

  3. Contact Snyk API & Web support team.

Option 1: Use a Recovery Code

While setting up 2FA for your account, Snyk API & Web provides a set of recovery codes. In case you have access to them, proceed as follows:

  1. Pick one code you never used before (because each code can only be used once).

  2. Type the code in the 2FA dialog to complete the authentication.

You should now be logged in to Snyk API & Web. You can go to your profile and, in the TWO-FACTOR AUTHENTICATION (2FA) section, click on Update to replace the device. The procedure will be like steps 4 and 5 described in how to set up 2FA for your profile.

Option 2: Reset Your 2FA

If you can reach out to the owner of your Snyk API & Web account, he can reset your 2FA and disable it for you.

The account owner has to proceed as follows:

  1. Open the Settings dropdown menu on the bottom-left corner of the navigation bar and click on Users.
    ​

  2. On the Users screen, click on the line of your user to edit it.
    ​

  3. On the User edit screen, click on Reset 2FA, and confirm.

You should now be able to log in to Snyk API & Web without 2FA. You can go to your profile and, in the TWO-FACTOR AUTHENTICATION (2FA) section, click on Update to replace the device. The procedure will be like steps 4 and 5 described in how to set up 2FA for your profile.

Option 3: Contact Snyk API & Web Support

If the previous options fail, don't hesitate to contact Snyk API & Web support by email to [email protected] with a request to reset your 2FA.

Once you can log in to Snyk API & Web again, you can go to your profile and, in the TWO-FACTOR AUTHENTICATION (2FA) section, click on Update to replace the device. The procedure will be like steps 4 and 5 described in how to set up 2FA for your profile.
​

Did this answer your question?