Skip to content

Two-factor authentication ​

Two-factor authentication adds a second step when you sign in: after your password, Frostmoln asks for a short code from an authenticator app on your phone. Someone who learns your password still cannot sign in without it.

Where to manage it

Open Settings → Security in the portal. You manage two-factor authentication yourself while signed in to your own account. API keys and other automated clients cannot manage it.

Choose an authenticator app ​

We recommend Proton Authenticator. It is free and open source, made by Proton AG in Switzerland, and available for iPhone, Android, Windows, macOS and Linux.

Other apps that support standard time-based one-time codes (TOTP, RFC 6238) work as well, for example Google Authenticator and Microsoft Authenticator. The codes are calculated on your phone, and Frostmoln shares no data with the app maker. Only the app's own optional cloud sync would store anything with them.

If you prefer a hardware key, use Yubico Authenticator (Yubico AB, Sweden) with a YubiKey.

Frostmoln is not affiliated with Proton, Google, Microsoft or Yubico. The app names are trademarks of their respective owners.

Set up ​

  1. Under Authenticator app, select Set up.
  2. Scan the QR code with your app, or type the key shown under it.
  3. Enter the code the app shows to confirm.

The entry in your app is named Frostmoln.

What it protects ​

  • Signing in to the portal with a password asks for a code from the app.
  • Approving a device for the fm CLI (fm auth login, see the fm CLI) asks for a code or a passkey.
  • Signing in with a passkey alone does not ask for a code, because a passkey already proves two factors.

Passkeys

On the same page you can also add a passkey — Touch ID, Windows Hello or a security key — as an alternative second step.

Recovery codes ​

Right after setup, Frostmoln shows 10 recovery codes. They are shown only once. Copy them, download them as frostmoln-recovery-codes.txt, or both, and store them somewhere safe, such as a password manager.

  • Each code works once.
  • Generate new codes on the Security page replaces the whole set. The old codes stop working.
  • The page cannot tell how many codes you have left, so generate a new set after you use one.

Never share a code

Frostmoln will never ask you for a recovery code or an authenticator code by email, phone or support ticket. Enter them only on the Frostmoln sign-in page.

Sign in with a recovery code ​

If you do not have your phone, choose Use a recovery code instead on the code step when you sign in, and enter one of your saved codes. Then generate a new set on the Security page.

Too many wrong codes ​

Too many wrong codes temporarily lock your account. Reset your password with Forgot your password? on the sign-in page to unlock it.

Remove ​

Under Authenticator app on the Security page, select Remove and confirm with Remove authenticator app.

  • Your recovery codes are removed with it.
  • Your password and passkeys are not affected.
  • You can set it up again at any time.

If you lose your phone ​

  • You still have your recovery codes: sign in with one, as described above. To use a new phone, remove the authenticator app and set it up again.
  • You have lost your phone and your recovery codes: open a support ticket. Frostmoln staff verify your identity through the contact details already on record before they remove the authenticator app. You then sign in with your password and set it up again. Staff never remove passkeys or security keys this way.

If the phone was stolen, also follow Lost or stolen device to sign out every session it holds.

Required by your organization ​

An organization's Admin or Owner can require two-factor authentication of every member. If any organization you belong to requires it, your account needs a second factor: an authenticator app or a passkey.

Turn it on ​

Go to Organizations, open your organization and choose the Settings tab. Turn on Require two-factor authentication for all members and confirm with Require it. Other members see the setting read-only.

  • Set up two-factor authentication on your own account first. Without it the setting cannot be turned on.
  • Only a person signed in to the portal or the fm CLI can change it. API keys cannot.
  • With the fm CLI: fm organization mfa-requirement set --required=true. Use --required=false to turn it off, and get to see the current value.
  • Frostmoln support can also change it at your organization's request.

What members see ​

A member without a second factor is asked to set up an authenticator app at their next portal sign-in:

  1. Sign in with your email and password.
  2. Scan the QR code with your app, or type the key shown under it.
  3. Enter the code the app shows and select Finish setup.
  4. Enter the next code the app shows to finish signing in.

Finish within 5 minutes. If the time runs out, delete the Frostmoln entry you added to the app, then sign in again to get a new QR code.

After that first sign-in, generate recovery codes on the Security page, as described under Recovery codes.

  • fm auth login: until a member has a second factor, approving a device for the fm CLI is refused. Set one up in the portal, then run fm auth login again.
  • Existing sessions continue until they expire.
  • API keys are not affected.
  • Removing your last factor is still possible. The Security page warns you first, and your next sign-in asks you to set up an authenticator app again.