I can't log in to my Microsoft account

\n\n### Operating System\nLinux\n\n### Problem Description:\nHello, I’m having trouble logging into my Microsoft account in the launcher on CachyOS (KDE Plasma). The steps normally proceed, I enter my email, password, it asks for a code from my email, I enter it, but then it goes back to asking for the code sent to my email again. I don’t receive a second code, so I start over, and it keeps asking for another code to log in during this session. I even added a second email to my Microsoft account, select it for the second code, receive the code on that second email, send it, and it asks for a code again. If this continues, I’ll try connecting my Microsoft account to Crystal next.

And I also tried on Windows, but there it chooses MS lock because I have the same account for the system and automatically logs in with the PIN code, it goes through but I can’t choose this method I wrote about.

Do you have a 2FA key connected? Because I know that this can cause problems on systems other than Windows (the Java browser does not support keys, and on Windows Crystal uses Edge WebView for this).