Hello, I have a task of developing an app with login to a personal account via Telegram. Please tell me that it is safe to do so: a person enters the website, the site receives an ID Telegram through JS and sends a request to Backend. If the ID is not found, the person enters through the Telegram widget.
If it's somehow unsafe, please tell me how best to make the app more safe