Google Authenticator is no longer open-source software, but plenty of rivals are. I use Aegis Authenticator on Android, available via both the open F-Droid store and on the Google Play Store. Bitwarden’s authenticator is also open source, as is FreeOTP, among others. The advantages here are that their code can be publicly audited for security, and that you’ll not be tied into any specific ecosystem.