OpenFn / OpenFn/lightning

Unexpected options `Test-tmp` and `Testing` in credential form

Open
#2,717 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

When creating a new credential, the credential modal displays unexpected options: Test-tmp and Testing. These options are not expected in the list of available credentials.


Version number

The version of Lightning where the bug was observed:

  • v2.10.4

If you're running locally with an unreleased version, include the commit SHA: 19bd2bf0fd

I have reproduced this locally on main:

  • Yes
  • No

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to the "Credentials" section.
  2. Click on "Add New Credential."
  3. Open the dropdown list to select a credential.
  4. Observe the presence of unexpected options: Test-tmp and Testing.

Expected behavior

Only valid adaptors and user-defined OAuth credential options should appear in the list. The Test-tmp and Testing options should not be displayed.


Screenshots

A screenshots of the credential form showing the unexpected options.
Image

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

Start in the Credentials section at the Add New Credential flow and reproduce the dropdown behavior described in the issue. Trace where the available credential options are assembled, then verify that only valid adaptors and user-defined OAuth options remain and that Test-tmp and Testing no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.