jenkinsci / jenkinsci/cursor-origin-branch-source-plugin
`CredentialsNameProvider`
- 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
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