Integration of the Telegram bot with the website
The following server logic is needed on the site (because the site simply does not accept any tokens in the GET parameter):
An endpoint on the backend that returns a one-time token (JWT or another) by user_id (or user_phone),
For example:
POST /api/v1/auth/token
{
"api_key": "...",
"param": { "user_id": 1234 }
}
→ { "status":"OK", "token":"..." }
On the frontend (in the catalog), implement the route /auto-login?token=..., which: checks and decrypts this token, searches for the user in the session (sets session.cookie), and redirects them to the catalog page within the authorized session.
It is needed like /auth/token or /users/login on the backend, because the bot simply will not be able to log in automatically.
Summary:
A corresponding endpoint needs to be implemented on the site that issues a one-time token and sets the session when navigating through it.
-
5235 29 1 1 Good day
I am implementing a backend endpoint that issues a one-time token based on user_id or user_phone, and a frontend route /auto-login that decodes the token, authorizes the user, and sets the session with a redirect to the catalog. We can use JWT or another format. I am ready to start tomorrow — please send the existing project structure (framework, language) so I can more accurately estimate the time and cost.
-
286 2 1 Hello, Dmitry! 🌟
My name is Semyon, I am a web developer with experience in creating server logic and authorization. I am ready to implement the server logic for your website: an endpoint for issuing a one-time token and an auto-login route on the front end with session establishment. 🚀
📋 Implementation Plan:
Backend endpoint (POST /api/v1/auth/token):
I will create an endpoint in PHP/Node.js (depending on your stack).
Example:
… Request: POST /api/v1/auth/token with body {"api_key": "your_key", "param": {"user_id": 1234}}.
I will check the api_key (for security).
I will generate a one-time JWT token (valid for 5 minutes) using a library (for example, firebase/jwt for PHP).
Response: {"status": "OK", "token": "jwt_token"}.
Frontend route (/auto-login?token=…):
I will implement the route on the front end (presumably JavaScript):
I will check the token: decode the JWT, verify its validity (expiration, signature).
If the token is valid, I will find the user by user_id (through a request to the backend).
I will set a session cookie (for example, via document.cookie or a request to the backend to create a session).
I will redirect to the catalog page (/catalog) already in an authorized session.
Security and optimization:
The token will be one-time: after use, it will be invalidated (stored in the database or Redis).
I will add error handling: if the token is invalid, redirect to the login page with an error.
💰 Cost and timelines:
Backend endpoint: $150.
Frontend route: $100.
Total: $250.
Timeline: 3–5 days.
Support: $50/month.
❓ Next steps:
Please specify the backend stack (PHP, Node.js, or other).
Provide access to the repository or server.
I will start after agreement!
Best regards, Semyon 😊
-
4975 41 4 1 Good day!
I professionally develop bots in Telegram and web applications in Python.
I am ready to implement such a bot for you + deploy it on the server.
Write to me in private messages, and we will clarify the details.
-
45 1 0 Hello! I am implementing a backend endpoint for issuing a one-time token (JWT), followed by authorization through auto-login with a session. I have experience with APIs, sessions, and JWT. I will quickly and efficiently implement everything according to the specifications.
-
8753 60 0 1 Good day. I will do it.
I have extensive experience in Python development.
I am in 2nd place on the platform.
I will implement an endpoint for issuing a one-time token, which will create a session during the transition.
I will optimize.
My portfolio:Freelancehunt
Write to me, we will discuss and I will start working.
-
95799 1272 1 10 Hello. I have extensive experience with Node.js. I am ready to collaborate. Contact me.
Current freelance projects in the category Databases & SQL
Heal the 1C configuration
111 USD
Configuration of CRM & ERP SmartCeiling (2.8.26.0) Protection via Registration Code. Registered until the end of the year. Databases & SQL ∙ 8 hours 52 minutes back ∙ 6 proposals |
Need a 1C specialist for refinements and development.I am looking for a 1C specialist for freelance collaboration. I am currently working with a contractor who provides support and maintenance for the 1C system. However, due to the contractor's workload, there is a need for prompt execution of additional tasks, improvements, and… Databases & SQL ∙ 5 days 8 hours back ∙ 11 proposals |
Restoring Instagram after a banOn March 3, 2026, my Instagram was blocked due to a violation of rules. I believe there has been some mistake, as the page was personal with photos and videos of my personal trips. I did not post any comments anywhere. I have sent several appeals. I cannot download my files… Databases & SQL, Web Programming ∙ 5 days 19 hours back ∙ 6 proposals |
Eliminate the issue of incomplete data import from Excel files of Nova Poshta specifications into 1C:
45 USD
Goal: There is a processing in 1C for uploading the specifications of Nova Poshta. For unclear reasons, it has stopped loading some tabular data. We need to find the reason and eliminate the problem of incomplete data import from Excel files of Nova Poshta specifications into… System & Network Administration, Databases & SQL ∙ 9 days 2 hours back ∙ 16 proposals |
Accounting, planning, and sales system for a mushroom farm
601 USD
Here is the complete, final text of the Technical Assignment (TA). It combines all your requirements: 16 chambers, 20 contractors, a schedule by days, accounting for containers, profitability calculation, and a mandatory division into three grades of mushrooms. You can fully… Databases & SQL, Client Management & CRM ∙ 11 days 6 hours back ∙ 61 proposals |