louislam / uptime-kuma

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

JWT Authentication #2095

Open dnltech2020 opened 2 years ago

dnltech2020 commented 2 years ago

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

🏷️ Feature Request Type

UI Feature, Other

🔖 Feature description

I would like to monitor apis that have JWT authentication on them. It would be great if under the authentication area there was support for JWT (Json Web Token) https://jwt.io/

✔️ Solution

as an example if you have an api that requires a token in order to access the api. one would put the information in the JWT authentication that would allow the system to retrieve a token, and use that token in the GET or POST call to the API to get a valid response back.

❓ Alternatives

No response

📝 Additional Context

No response

ankit-ls commented 1 year ago

659

06kellyjac commented 1 year ago

JWT (Java Web Token)

JSON Web Token (JWT) - https://jwt.io/

XChikuX commented 11 months ago

@louislam Hey louis. Would love Bearer Token support! for JWT.

I'm surprised its not already there.

CommanderStorm commented 11 months ago

@XChikuX Please refrain from posting +1 / requests for updates things on issues, as this makes issue-management harder. Issues are for discussing what needs to be done how by whom. We use 👍🏻 on issues to prioritise work, as always: Pull Requests welcome.

XChikuX commented 11 months ago

@CommanderStorm Thanks for clarifying.

I'd love to contribute. Would be possible to guide me in the right direction for this issue?

CommanderStorm commented 11 months ago

To be able to integrate a permission system (and auth providers) we likely need user management first. See https://github.com/louislam/uptime-kuma/issues/128#issuecomment-1676504440 on how you can help with this

If you think this can be done without affecting said PR, opening an empty PR for discussion is encouraged. See our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md