The best open source alternative to 2FAS is Aegis Authenticator. If that doesn't suit you, we've compiled a ranked list of other open source 2FAS alternatives to help you find a suitable replacement.
2FAS alternatives are mainly Password & Secret Management Tools. Browse these if you want a narrower list of alternatives or looking for a specific functionality of 2FAS.
Android app for managing two-factor authentication tokens with encrypted storage, biometric unlock, flexible backups, and import/export from major 2FA apps.

Aegis is an Android authenticator app built for people who want full control over their 2FA tokens without handing them off to a cloud service they don't own. No ads, no unnecessary permissions, no lock-in to a phone number or SIM card. It works entirely offline.
The vault is encrypted by default. You choose the password, and optional biometric unlock (fingerprint or face) makes day-to-day access quick without sacrificing security. The app requests only three permissions, a sharp contrast to many alternatives that ask for far more than they need.
Key capabilities:
Migrating from another authenticator is straightforward. If you've ever been stuck on a phone upgrade because Google Authenticator wouldn't recognize its own QR code, Aegis handles that transition without friction.
Aegis has over 675,000 installs and is actively maintained.