maubot / rss

A RSS plugin for maubot
GNU Affero General Public License v3.0
69 stars 21 forks source link

Support HTTP basic auth via configuration #20

Open Bustel opened 3 years ago

Bustel commented 3 years ago

Right now if I want to subscribe a room to a private feed I can do so via https://user:pass@feed.example.org/rss. This is however, unsatisfying because it exposes my credentials to the whole room.

A better solution would be to utilize aiohttp's basic auth capabilities for certain domains if an RSS admin does the subscription.

Some necessary steps:

What do you think about such an enhancement? I would consider providing a pull request but i dont have a good dev setup here to test it.

xrayn commented 3 years ago

I would love to have such a feature too!