bluewave-labs / bluewave-labs/Checkmate

Add bearer/basic auth option to webhooks

Open
#2,369 15 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
10.8k
Forks
1.2k
Avg merge
1d 4h
Merged PRs (30d)
68

Description

Notifications > Webhooks section needs optional bearer/basic auth

What you need to do is to add two optional fields below Webhook URL:

- Authentication Type (dropdown):
- None (default)
- Basic Auth
- Bearer Token

If Basic Auth is selected, ask for:
- Username
- Password

If Bearer Token is selected, ask for:
- Token input field

That is it. Additionally when sending the webhook request, do the following:

- For basic Auth:
- Encode username:password in base64.
- Add header: Authorization: Basic base64(username:password)

- For bearer token, it's more simple.
- Add header: `Authorization: Bearer YOUR_TOKEN`

Contributor guide

Open the contributing guide

Research direction

Start by locating the Notifications > Webhooks settings UI and the code that sends webhook requests. Trace how webhook configuration is stored and passed to the sender, then implement the three authentication modes and verify that the resulting request headers match the issue requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.