louislam / uptime-kuma

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

Disable authentication via environment variable - remove need to create an account #1672

Open david-plugge opened 2 years ago

david-plugge commented 2 years ago

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

🏷️ Feature Request Type

Other

🔖 Feature description

I just set up uptime kuma along with traefik + authelia (an sso authentication provider) and disabled authentication in uptime kuma. To do so i had to create an account.

✔️ Solution

Add an environment variable to disable the builtin authentication.

❓ Alternatives

Disable authentication in the web ui.

📝 Additional Context

No response

jfcabral commented 2 years ago

I believe there are use-cases where you simply want to show a dashboard, and make it available for a group of people, without the need to setup users and authentication.

dwydler commented 1 year ago

You have my vote too. I plan the same design for Uptime Kuma.

allebone commented 1 year ago

Just to clarify. Users like mine merely only need auth bypass for specific status pages. Not free reign to the dashboard.

gaetanlord commented 1 year ago

In the same topic, maybe a non login page displaying the status but restrict any changes. That would be a great feature

toxinliquid commented 1 year ago

i would die for this feature

flammable commented 1 year ago

I might be misunderstanding, but I think some of these features already exist.

  1. You can completely disable authentication (if you're using something like Authelia). This was added in 1.0.8.
  2. You can display a status page to users without them needing to authenticate (or have access to the dashboard). This was added in 1.13.1.
CommanderStorm commented 1 year ago

@david-plugge what feature are you missing? It seems to me that the feature you are referring to already exists. (as commented by @flammable)

If this issue is resolved, could you close this issue? If it is not, could you comment further details what parts you are missing?

david-plugge commented 1 year ago

Yes, you can disable authentication once you created an account. But I was thinking about an environment variable like DISABLE_AUTH=1 to disable it so you don't need to create an account first.

abdullahainun commented 7 months ago

hi @david-plugge, are that way to disable auth with environment possible right now ?

david-plugge commented 3 months ago

Not yet, still waiting for it :)

clitters commented 1 month ago

This really would be useful. Im running my kuma inside a docker container, behind a reverse proxy that already handles my authentication. The container has no more exposed ports. Therefore i dont need/want any authentication ;)