louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
55.82k stars 5.02k forks source link

Add support for Bearer Authentication header #3963

Open vdiogo opened 10 months ago

vdiogo commented 10 months ago

⚠️ Please verify that this feature request has NOT been suggested before.

🏷️ Feature Request Type

New Monitor

🔖 Feature description

When setting a new http type of monitor where a request is done, I'd like to use Bearer token based authentication. Currently only these authentication methods are supported: image

✔️ Solution

Would like to be able to use the API url and build a request while specifying the bearer token separately, if possible masking the token after its is introduced

❓ Alternatives

Building a custom header

📝 Additional Context

No response

CommanderStorm commented 10 months ago

Currently, you can set the bearer token via a header No masking is nessesary, as headers are never shown in the frontend afaik.

You can contribute another auth option. Here is our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md