Simple Sign-In with Telegram

Simple Sign-In with Telegram provides Telegram sign-in for Android, iOS, Windows, Mac, Universal Windows Platform (UWP) and WebGL apps made with Unity. This asset doesn't support WebGL builds executed inside Telegram.


Need sign-in for other platforms?

Simple Sign-In with Google

Simple Sign-In with Apple

Simple Sign-In with Facebook

Simple Sign-In with X (Twitter)

Simple Sign-In with Telegram

Simple Sign-In with Microsoft

Simple Sign-In with TikTok


Benefits

● You can get the following user info: id, first_name, last_name, username, photo_url, auth_date, hash

● Cross-platform user auth for cross-platform games and apps

● No plugins, not 3rd party libs, no dependencies

● No impact to build size

● SFSafariViewController is used on iOS (required by App Store review)

● Deep linking for Windows (UNITY_STANDALONE_WIN)


Setup steps

Please visit our GitHub for setup instructions.


Understanding how it works

● Your app navigates users to Authorization Middleware using a default web browser (embedded webviews are not allowed)

● Authorization Middleware shows Telegram Widget or performs a silent auth call

● Users perform sign-in inside Telegram popup

● Telegram Widget returns auth data to Authorization Middleware

● Authorization Middleware redirects auth data to your app with deep linking (when possible)

● Authorization Middleware returns data by app request when deep linking is not possible (Editor, WebGL)


Known issues

Please visit our GitHub for known issues.


Support

GitHub - Wiki

GitHub - Bugs & requests

Discord - Questions, live chat with developers


It would be super awesome if you rate ★★★★★ our asset and leave your feedback! Your reviews inspire us for creating and improving our assets. Thanks and good luck with your projects!