Skip to content

Can't receive auth code for accounts that switched to e-mail authentication forcibly. #35

@DmitryBondarenko

Description

@DmitryBondarenko

In some countries, mobile operators are blocking Telegram authentication SMS. To work around this, Telegram has forcibly switched affected accounts to email-based authentication. For these accounts, tg-focus cannot complete authentication because no code is delivered.

I ran the following tests:

1) NORMAL account + TG-FOCUS in Docker
   => Received the code in the Telegram app on my phone.

2) EMAIL-FORCED account + Android Telegram app
   => Received the code in both the Telegram app on my phone and via email.

3) EMAIL-FORCED account + TG-FOCUS in Docker
   => Did not receive the code via email or in the Telegram app.

As you can see, for email-forced accounts, authentication works in the native Telegram app but not in tg-focus. For normal accounts, both methods work as expected.

If you can share tips on collecting more detailed debug information to help resolve this issue, I’d really appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions