SET UP TWO-FACTOR AUTHENTICATION (2FA)
This guide shows you how to make swamp-club.com ask for a code from an authenticator app after your password.
2FA applies to password sign-in only. Signing in with Google, GitHub, Discord,
Microsoft or your company's single sign-on is unchanged, because that provider
already checks who you are. The CLI is unchanged too: swamp auth login is
approved from a browser where you are already signed in, and existing API keys
keep working.
Prerequisites
- A swamp-club.com account that signs in with a password
- An authenticator app on your phone or computer, such as 1Password, Google Authenticator or Authy
Set it up
- Open your profile and find 2FA Two-factor authentication.
- Select Set up 2FA and enter your password.
- Scan the QR code with your authenticator app. If you can't scan it, type the key shown under it into the app instead.
- Enter the 6-digit code the app shows, then select Confirm code.
- Select Download codes or Copy codes and keep them somewhere safe, then select I've saved them. They are shown only once.
Each backup code signs you in once if you lose your authenticator.
Sign in with a code
After you enter your password, swamp-club.com asks for an authenticator code. Enter the current code from your app.
If you don't have your authenticator, select use a backup code and enter one of your saved codes.
After 10 wrong codes in a row, sign-in with a code is held for 15 minutes.
Make new backup codes
Select New backup codes on your profile and enter your password. The new codes replace the old ones, which stop working.
Remove it
Select Remove 2FA on your profile and enter your password. Password sign-in stops asking for a code, and your backup codes stop working.
If you lose your authenticator and your backup codes
Contact a swamp-club.com admin. They can remove 2FA from your account, which also ends your sessions; a browser you left open is signed out within 5 minutes. Sign in with your password, then set up 2FA again.