I am currently developing an angular 9 website. I wanted to integrate Telegram Login to my website. I have done all the necessary steps to include it to the website. I have configured the domain name setting of the bot to my own. When deployed and in production, the website works perfectly well.
The problem arises when I try and debug it locally, the button raises "bot domain invalid" error. I am aware that this is because the website isn't hosted in the domain name the bot is configured to handle.
Solutions that I've tried using are
Is there any other solutions that I can use to aid my use case?
I understand that I might not have implemented the solutions I mentioned above correctly. I will also appreciate it if I could get some decent pointers in those areas.
You can test the telegram login widget locally if you:
http://127.0.0.1 and not http://localhostCheck this link for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With