Uptime-Kuma-Web-API icon indicating copy to clipboard operation
Uptime-Kuma-Web-API copied to clipboard

How to connect without auth in uptime-kuma ?

Open m4dm4rtig4n opened this issue 2 years ago • 3 comments

Hello,

I use SSO at home and i have disable Uptime Kuma auth. How to use this RestAPI without auth ?

I try with this config:

  KUMA_SERVER: "uptime-kuma.uptime-kuma"
  KUMA_USERNAME: ""
  KUMA_PASSWORD: ""
  ADMIN_PASSWORD: ""

but i have :

{
  "detail": "Not authenticated"
}

Thx :)

m4dm4rtig4n avatar Feb 20 '23 12:02 m4dm4rtig4n

oww this isnt supported yet

MedAziz11 avatar Feb 26 '23 20:02 MedAziz11

Try populating the ADMIN_PASSWORD. That's a required value, for sure.

I don't see why the KUMA_USERNAME and KUMA_PASSWORD can't be empty.

Docs

nstankov-bg avatar Apr 20 '23 10:04 nstankov-bg

@m4dm4rtig4n I found myself having the same issue. My workaround was to adding the initial uptime kuma username and password values to KUMA_USERNAME and KUMA_PASSWORD environment variables even if auth is disabled.

alencarsouza avatar Oct 26 '23 08:10 alencarsouza