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
orlocal-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 edithosts
file. - It’s only run on port 80. When you use
create-react-app
. You must runsudo yarn PORT=80 start
, or on Windows CMD (not powershell),set PORT=80 && yarn start