#1737: Error Anonymous authentication is not supported for the widget channel. when configuring widget channel

Отредактирована: 56 дней назад

Symptoms

When setting up a channel in the web widget and setting the authorization type to anonymous, an error occurs.

Anonymous authentication is not supported for the widget channel.

Solution

  1. You need to add 'anonymous' to the AUTH_PROVIDERS variable in the /root/swarmica/.env file, separated by a comma.
  2. Restart Swarmica.
docker compose down && docker compose up -d

Cause

The .env AUTH_PROVIDERS variable does not have the 'anonymous' value for security reasons. The ability to initialize chats anonymously increases the likelihood of a DDOS attack through multiple initializations of empty chats.