When this happened to me on my mobile; I had to dig up the password from my password manager. Then it asked me to NFC/tap my physical security key (YubiKey). Then the screen disappeared and all was well.
I never seen that flow before with the security key usually it's the SMS/GAuthenticator.
Still haven't fixed my email clients on my Mac, lol.