OpenFn / OpenFn/lightning

sandboxes: disable webhook authentication on all sandboxes

Open
#4,643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

sandboxes and sync
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Sandboxes should not use production credentials for webhook auth.

Most users probably won't want or need to set up auth on sandbox webhooks (especially for short lived sandboxes)

So for now, we should force disable webhook auth on a sandbox.

Later, we should probably switch off auth on fork, but all users to setup a local (non merging) option.

The settings page needs updating to reflect this rule (display a message saying "webhook auth is disabled for sandboxes")

This is a not a blocker for release IMO, but should be done

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the sandbox webhook authentication logic and the settings page that controls or displays webhook authentication. Trace how sandbox status is determined, then update the behavior and confirm the settings page displays "webhook auth is disabled for sandboxes"; add or update tests for both cases if the existing test structure covers them.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.