This is a simple demonstration of flask login using Telegram. Further info on this can be found at https://core.telegram.org/widgets/login
Getting bot token
- Chat with @BotFather in Telegram to create a new bot
- Use /setdomain command to set the domain
- update the templates/index.html file to add relevant details
This code uses '/login' url to get POST requests. For proper work you need to set domain like http://domain.com/login (with http and full url)