mautrix / telegram

A Matrix-Telegram hybrid puppeting/relaybot bridge
https://matrix.to/#/#telegram:maunium.net
GNU Affero General Public License v3.0
1.34k stars 176 forks source link

Web Login Fails with 403: Forbidden #828

Open jejo86 opened 2 years ago

jejo86 commented 2 years ago

Enabling the web registration appservice.public.enabled = true and sending login to the telegrambot creates a link to an URL

https://<MY_DOMAIN>/public/login?token=K1DQ_y[...]v_6pvF9OE:eyJteGlkIjogIkBqZ[...]MX0

When opening that URL I see a page saying 403: Forbidden and nothing else.

The exact same settings, including appservice.public.external = https://<MY_DOMAIN>/public worked fine in the mautrix-facebook bridge.

Is there a conflict if two bridges use the same settings appservice.public.{prefix, external}?

zeritiq commented 1 year ago

Is there a conflict if two bridges use the same settings appservice.public.{prefix, external}?

For each bridge, you must use either a different prefix or a different subdomain.