One billion Telegram users login on your website via one tap or QR scan.
The most seamless UI you can think of, fully OAuth compatible.
Seamless experience
Mobile friendly
Whether user is on mobile or desktop, they can login with one click.
Login users faster
One-click login is the most convenient way to authorize which leads to better conversion rates.
Secure
Backed by audited asymmetric cryptography and fully compliant with OAuth 2.0.
Easy integration
Our SDKs are fully customizable and support both mobile and desktop flows. Whether it is React or vanilla, Node.js or PHP, we have you covered.
import TelegramLoginButton from '@telegrauth/react'; const AuthPage = () => ( <div> <TelegramLoginButton appId="<your app id here>" /> </div> );
Simple and secure
"Telegram Login for Web" requires phone number and has no OAuth support. Majority of users find it scaring and inconvenient.
Telegrauth detects user's platform and provides a one-click login if Telegram is installed or QR login to auth via phone.
We support what you need
We have a ready-to-go SDKs both for frontend and backend.
Just get your app ID and secret key — and you're good to go.
npm i @telegrauth/react
npm i passport-telegram2
import { TelegramLoginButton } from '@telegrauth/react';
export const AuthPage = () => {
const appId = 'your-app-id'; // https://app.telegrauth.com
return (
<TelegramLoginButton
appId={appId}
state="state string you want to get in your callback (like CSRF token)"
/>
);
}
Everything you need to know
Telegrauth is completely free. We don't have any paid plans or subscriptions. You don't need to provide us with your bank details or anything else. There are no limits on the number of users you can authenticate.
There are some technical limits (frankly speaking, very generous) - the number of requests per second, the number of requests per day, etc. But they are here to protect our servers from abuse, not to limit your app.
Telegrauth is one of the projects we run for the Telegram ecosystem. It was created as a side project, and it costs us almost nothing - one $10 server can handle approximately 10,000 apps.
Our intent is to use it as a marketing tool - once you use Telegrauth and see how smooth and effective it is, you may be interested in using our other products for Telegram, including paid ones.
For every auth request, we generate a random string, which is passed from the very beginning of the session to the bot, then to your servers in the callback. It is impossible to guess or brute-force it, and the lifetime of the auth session is limited to 10 minutes.
Even if someone intercepts the request and steals the link (e.g., the user's computer is infected by viruses), the user will receive an auth request with an unknown IP address, from an unknown location, different browser, etc. There is zero chance they will confirm it.
Don't take our word for it - just try to log in to this site and you'll see what a detailed confirmation request you get from the bot.
For apps demanding an even higher level of security (financial apps, crypto exchanges), completely eliminating even the tiniest chances of man-in-the-middle attacks, we have a special "same device policy" which disables QR login and requires the user not just to confirm auth in the bot, but to open a special link from the bot, with an additional security layer of one-time cookie validation. To enable it, please contact us [email protected].
Yes, we support it. Just write us [email protected] and we will help you to integrate it (it takes less than 10 minutes).
Yes, but it makes no sense. The Telegram Mini App has seamless authentication flow via initData. So, you don't need to use external auth for that.
If you interested in making your Telegram Mini App auth compatible with OAuth 2.0, please contact us [email protected].