A friend sends a link: "Vote for my daughter in a drawing contest, you log in with Telegram." The page has a form: phone number, then a code. The code arrives in the "Telegram" chat, you type it on the site, and a minute later an unfamiliar session appears under Devices. There was no vote: the site logged in to your account.

A real Telegram login looks different, and you can tell from the very first screen. Below: what a site gets, how to tell the real window and where to revoke access.

3 kinds of data
A site can request: your profile, your phone number and permission to message you through a bot.

First of all

Stop list

Warning

Login codes are never typed on other sites

  • Do not type the code from the "Telegram" chat into any form on a website. Only the Telegram app itself needs that code.
  • Do not approve a login you did not start. If Telegram asks you to confirm a login to a site you never opened, decline it.
  • Do not "vote through Telegram" via links from people you know. Their account may already be hijacked, and the link leads to the same trap.

How it works

How a real login works

Since March 2026, Telegram has offered websites and apps login in a couple of taps, with no forms or passwords. Behind the site is a Telegram bot, and when you log in you see a confirmation box with that bot's name and logo. You confirm in your Telegram app or on the oauth.telegram.org page. Telegram only completes logins to addresses the site owner registered in advance.

A site requests login; confirmation happens in Telegram or on its page; the authorised response returns to the site.
Read the diagram from left to right. Confirm the request in Telegram or on oauth.telegram.org. The return arrow is the response to the registered site.

Data

What the site gets

What the site requested

What it receives

Basic login

A technical identifier of your account

Profile

Your ID, name, username and a link to your profile photo

Phone number

Your verified number, only if you agreed to share it

Messages from the bot

Permission for the site's bot to message you on Telegram

The site does not get your chats, contacts, cloud password or login code. Your number and permission to message you are separate: if you do not need them, do not grant them.

Tidying up

Where to revoke access

The list of sites you logged in to with Telegram is in the settings, next to your active sessions. You can log out of any site there. If a site got permission to message you, block its bot and the messages stop.

Check this list together with Devices whenever you tidy up your account. What else is worth checking is covered in "How to protect your Telegram account: five locks and what each one stops".

Questions

Will the site learn my phone number?

Only if the site requested it and you agreed in the confirmation window. By default a site gets your ID, name, username and photo.

What if a login code has already been typed on another site?

Open Devices right away, end unfamiliar sessions and change your cloud password. The step-by-step plan is in "Telegram account hacked: what to do right now".

How is logging in with Telegram different from a mini app?

Logging in with Telegram opens a site outside Telegram and passes it your profile data. A mini app runs inside Telegram and asks for its own permissions. What each tap gives a mini app is covered in "Telegram Mini App permissions: what you hand over when you tap Allow".


Logging in with Telegram is convenient: no passwords, no forms, and the site gets only what you allowed. The real thing always goes through the app itself or through oauth.telegram.org.

So the main rule is short: login codes are never typed on websites. If a page asks for one, close it and warn whoever sent you the link.