gatus icon indicating copy to clipboard operation
gatus copied to clipboard

Basic auth with multiple users

Open andrgras opened this issue 2 months ago • 4 comments

Describe the feature request

Is it possible to add option for multiple users

security: basic: username1: "user1" password-bcrypt-base64: "xxxx" username2: "user2" password-bcrypt-base64: "xxxx"

Why do you personally want this feature to be implemented?

I have already added basic auth and me and my team is using it, I want to to share dashboard with another team and don't want to share credentials with them. Different user would be better approach

How long have you been using this project?

around 4 months

Additional information

No response

andrgras avatar Oct 03 '25 06:10 andrgras

Not against the idea, but the configuration should be something like

security:
  basic:
    users:
      - username: "abc"
        password: "abc"
      - username: "def"
        password: "def"

TwiN avatar Oct 04 '25 02:10 TwiN

Not against the idea, but the configuration should be something like

security: basic: users: - username: "abc" password: "abc" - username: "def" password: "def"

Yes, this approach also is good

andrgras avatar Oct 06 '25 05:10 andrgras

Any estimate, when multiple user support could be released ?

andrgras avatar Oct 22 '25 05:10 andrgras

I don't personally have a use for this feature right now, so I have no intention of implementing it myself.

You're more than welcome to implement it yourself, or wait until somebody else volunteers to implement it.

TwiN avatar Oct 22 '25 19:10 TwiN