Setting up Microsoft Authenticator on a Librem 5 phone requires some workarounds since Microsoft Authenticator isn't officially available for Linux mobile distributions. Here are your options:
Option 1: Use an Alternative TOTP App
Since the Librem 5 runs PureOS (based on Debian), you'll need to use a Linux-compatible authenticator app instead:
Recommended alternatives:
- Authenticator (GNOME Authenticator) - Available in the PureOS store
- OTPClient - GTK-based authenticator
- KeePassXC - Password manager with TOTP support
To set up with any of these:
-
Install the app from the PureOS Store or via terminal:
sudo apt update
sudo apt install authenticator
-
When setting up 2FA on your Microsoft account:
- Go to your Microsoft account security settings
- Choose "Add a new way to sign in or verify"
- Select "Use an app"
- When prompted, select "I want to use a different authenticator app"
- Microsoft will show a QR code
-
In your chosen authenticator app:
- Tap the + or Add button
- Scan the QR code using your phone's camera
- The app will add your Microsoft account
-
Enter the 6-digit code from the app into Microsoft's setup page to verify
Option 2: Use Waydroid (Android Compatibility Layer)
If you specifically need Microsoft Authenticator:
- Install Waydroid on your Librem 5 (this allows running Android apps)
- Download Microsoft Authenticator APK from a trusted source
- Install and run it through Waydroid
- Follow the standard Microsoft Authenticator setup process
Note that Waydroid setup can be complex and may impact battery life.
Important Considerations
- Save the backup codes Microsoft provides during setup
- Consider setting up multiple authentication methods as backup
- The alternative TOTP apps work with the same standard as Microsoft Authenticator, so they're fully compatible with Microsoft's 2FA system
- Test your setup before relying on it completely
The first option using a native Linux authenticator app is generally more stable and battery-efficient on the Librem 5.