jenkinsci / jenkinsci/cursor-origin-branch-source-plugin

`CredentialsNameProvider`

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
2
Avg merge
21h 58m
Merged PRs (30d)
15

Description

`StandardUsernamePasswordCredentials.NameProvider` does not seem useful for `OriginAppCredentials`: it would normally be `x-access-token/******`. We should use the `appId`, or better yet, `displayName` from https://cursor.com/docs/api/origin#get-authenticated-app or something similar.

Contributor guide

Open the contributing guide

Research direction

Start by locating OriginAppCredentials and its StandardUsernamePasswordCredentials.NameProvider implementation. Read the authenticated-app response described in the linked Cursor API documentation, then determine whether appId or displayName is available and appropriate; done means the credential name is useful for OriginAppCredentials and is covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.