React.js

React Telegram Login

A Telegram OAuth Sign-in / Log-in Component for React

https://www.npmjs.com/package/react-telegram-login
This is a library which can be used when we embed telegram on websites.

  • Login widget will not work on localhost or local-ip-address. Use should create and register your bot domain with BotFather to get that work. You can create your custom domain. For example: yourdomain.local by add new record point to your local ip by edit hosts file.
  • It’s only run on port 80. When you use create-react-app. You must run sudo yarn PORT=80 start, or on Windows CMD (not powershell), set PORT=80 && yarn start

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *