mirror of
https://github.com/remnawave/panel.git
synced 2026-04-24 08:40:30 +00:00
chore: new docs
This commit is contained in:
39
_panel-docs/help-articles/en/AUTH_METHODS_TELEGRAM.md
Normal file
39
_panel-docs/help-articles/en/AUTH_METHODS_TELEGRAM.md
Normal file
@@ -0,0 +1,39 @@
|
||||
## Telegram OAuth2
|
||||
|
||||
To configure the "Login via Telegram" feature, you need a Telegram bot. Additionally, you need to configure the bot for the feature to work correctly.
|
||||
|
||||
### Bot Configuration
|
||||
|
||||
1. Open @BotFather (https://t.me/botfather)
|
||||
|
||||
2. Send the `/mybots` command and select the required bot
|
||||
|
||||
3. Select the option `Bot settings` → `Domain`
|
||||
|
||||
4. Select the option `Set domain`
|
||||
|
||||
Now send the bot a message containing the domain name used to access Remnawave.
|
||||
|
||||
```
|
||||
https://panel.domain.com
|
||||
```
|
||||
|
||||
### Access Configuration
|
||||
|
||||
After entering the bot token, you need to specify a list of administrator IDs who will have access to login.
|
||||
|
||||
1. From the required account, launch the bot – https://t.me/Get_myidrobot
|
||||
2. In response, the bot will send you your ID, enter it in the corresponding field.
|
||||
|
||||
---
|
||||
|
||||
### Known Error Solutions
|
||||
|
||||
###### Error: BOT_DOMAIN_INVALID
|
||||
|
||||
This error occurs due to incorrect bot domain configuration – review the "Bot Configuration" section (above). If necessary, repeat this step-by-step process.
|
||||
|
||||
###### Error: Telegram confirmation code not received during login
|
||||
|
||||
Unfortunately, this issue cannot be resolved from the Remnawave side. Try using a bot that was created a while ago or use a different browser.
|
||||
Alternatively, you can try logging in on one of the "official" resources – for example, https://fragment.com. Since the Telegram session within the browser will be shared – you can try logging into the panel.
|
||||
39
_panel-docs/help-articles/ru/AUTH_METHODS_TELEGRAM.md
Normal file
39
_panel-docs/help-articles/ru/AUTH_METHODS_TELEGRAM.md
Normal file
@@ -0,0 +1,39 @@
|
||||
## Telegram OAuth2
|
||||
|
||||
Для настройки функции "Вход через Telegram" вам необходим Telegram-бот, так же необходимо дополнительно настроить бота, чтобы функция работала корректно.
|
||||
|
||||
### Настройка бота
|
||||
|
||||
1. Откройте @BotFather (https://t.me/botfather)
|
||||
|
||||
2. Отправьте команду `/mybots` и выберите нужного бота
|
||||
|
||||
3. Выберите опцию `Bot settings` → `Domain`
|
||||
|
||||
4. Выберите опцию `Set domain`
|
||||
|
||||
Теперь отправьте боту сообщение, которое будет содержать доменное имя, которое используется для доступа к Remnawave.
|
||||
|
||||
```
|
||||
https://panel.domain.com
|
||||
```
|
||||
|
||||
### Настройка доступа
|
||||
|
||||
После ввода токена бота, вам необходимо указать список ID – администраторов, для которых будет доступен вход.
|
||||
|
||||
1. С нужного аккаунта запустите бота – https://t.me/Get_myidrobot
|
||||
2. В ответ бот пришлет вам ваш ID, введите его в соответсвующее поле.
|
||||
|
||||
---
|
||||
|
||||
### Решение известных ошибок
|
||||
|
||||
###### Ошибка: BOT_DOMAIN_INVALID
|
||||
|
||||
Эта ошибка возникает из-за неправильной настройки домена бота – изучите пункт "Настройка бота" (выше). При необходимости выполните повторно этот пункт шаг за шагом.
|
||||
|
||||
###### Ошибка: не приходит код подтверждения от Telegram при логине
|
||||
|
||||
К сожалению, со стороны Remnawave эту проблему не решить. Попробуйте использовать бота, который был создан давно или использовать другой браузер.
|
||||
Так же, как вариант вы можете попробовать залогиниться на одном из "официальных" ресурсорв – например https://fragment.com. Так как сессия Telegram в рамках браузера будет общей – вы можете попробовать залогиниться в панель.
|
||||
Reference in New Issue
Block a user