Skip to content

[Feature Request] Add support of authentication in webhooks #1850

Closed
@To-om

Description

@To-om

Request Type

[Feature Request]

Problem Description

Add authentication capability in webhook. A new optional auth setting is added in webhook endpoints:

notification {
  webhook {
    endpoints = [
      {
        name: local
        url: "http://127.0.0.1:5000/webhook"
        version: 0
        wsConfig: {}
        auth: {
          type: XXX
      }
    ]
  }
}

Supported methods are:

  • basic "auth": { "type": "basic", "username": "foo", "password": "bar" }
  • bearer "auth": { "type": "bearer", "key": "foobar" }
  • key "auth": { "type": "bearer", "key": "foobar" }
  • none (default) "auth": { "type": "none" }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions