I changed my iPhone recently. Now, when I log in to GitHub, it asks me to enter the code from my Authenticator app.
But the old GitHub entry is gone in the Authenticator app on the new phone! Apparently, it was not transferred with the rest of the data from the old to the new iPhone.
How can I re-enable GitHub two-factor authentication with the Authenticator app on my new smartphone?
Note:
The Authenticator app is the Microsoft Authenticator app for iPhone
References:
Configuring two-factor authentication - GitHub Docs - how to set up two-factor authentication from scratch (before Authenticator was used for the first time).