Google Authenticator not work on my website (https) (v2022)

Which version are you using? If v2023, I cannot reproduce. Make sure you have selected the User Profile field, see Two Factor Authentication. You may also enable Debug and log errors on your server.