jenkinsci / jenkinsci/authorize-project-plugin
[JENKINS-75970] Credentials don't show up in a free style job that uses Git and authorize project 'Run as Specific User'
- Dominant language
- Java
- Stars
- 18
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
When using a freestyle project i cant select any of the credentials i have configured in the credential manager. I pipeline jobs this is not an issue

Thanks
---
Originally reported by thinkferrari, imported from: Credentials don't show up in a free style job that uses Git and authorize project 'Run as Specific User'
Raw content of original issue
When using a freestyle project i cant select any of the credentials i have configured in the credential manager. I pipeline jobs this is not an issue
Thanks
environment
```
Jenkins: 2.516.1
OS: Linux - 4.18.0-553.64.1.el8_10.x86_64
Java: 21.0.8 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
active-directory:2.40
ant:513.vde9e7b_a_0da_0f
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
apache-httpcomponents-client-5-api:5.4.4-144.vc483d91903d2
asm-api:9.8-135.vb_2239d08ee90
authorize-project:2.0.0
bootstrap4-api:4.6.0-6
bootstrap5-api:5.3.5-1
bouncycastle-api:2.30.1.80-261.v00c0e2618ec3
branch-api:2.1217.v43d8b_b_d8b_2c7
build-history-manager:1.12.0
build-name-setter:2.5.0
build-user-vars-plugin:195.v8c35f9d5c3dc
byte-buddy-api:1.17.5-147.v9ce9318b_4ce8
caffeine-api:3.2.0-166.v72a_6d74b_870f
checks-api:370.vb_61a_c57328f3
cloudbees-folder:6.1012.v79a_86a_1ea_c1f
command-launcher:123.v37cfdc92ef67
commons-compress-api:1.27.1-3
commons-lang3-api:3.18.0-98.v3a_674c06072d
commons-text-api:1.13.0-153.v91dcd89e2a_22
compact-columns:1.199.v61a_f51712072
config-file-provider:988.v0461fcc2b_9d1
credentials:1419.v2337d1ceceef
credentials-binding:702.vfe613e537e88
data-tables-api:2.2.2-1
database:274.vea_2e859b_2661
database-mysql:142.vc259713f0032
display-url-api:2.209.v582ed814ff2f
durable-task:587.v84b_877235b_45
echarts-api:5.6.0-4
eddsa-api:0.3.0.1-19.vc432d923e5ee
font-awesome-api:6.7.2-1
git:5.7.0
git-client:6.3.0
git-parameter:444.vca_b_84d3703c2
git-server:137.ve0060b_432302
gson-api:2.13.1-139.v4569c2ef303f
h2-api:11.1.4.199-36.vb_ee07e965744
hidden-parameter:414.vfe0a_8b_052546
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:88.va_4187cb_eddf1
jackson2-api:2.18.3-402.v74c4eb_f122b_2
jakarta-activation-api:2.1.3-2
jakarta-mail-api:2.1.3-2
javadoc:327.vdfe586651ee0
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-133.vb_ec76a_73f706
jdk-tool:83.v417146707a_3d
job-dsl:1.92
job-restrictions:216.v0732cc7fb_076
joda-time-api:2.14.0-127.v7d9da_295a_d51
jquery:1.12.4-3
jquery3-api:3.7.1-3
jsch:0.2.16-95.v3eecb_55fa_b_78
json-api:20250107-125.v28b_a_ffa_eb_f01
json-path-api:2.9.0-148.v22a_7ffe323ce
jsoup:1.20.1-46.ve5f1416988c2
junit:1335.v6b_a_a_e18534e1
lockable-resources:1349.v8b_ccb_c5487f7
mailer:489.vd4b_25144138f
mapdb-api:1.0.9-44.va_1e1310c9118
matrix-auth:3.2.6
matrix-project:849.v0cd64ed7e531
maven-plugin:3.26
mina-sshd-api-common:2.15.0-161.vb_200831a_c15b_
mina-sshd-api-core:2.15.0-161.vb_200831a_c15b_
mysql-api:9.3.0-61.v5106b_79efee1
okhttp-api:4.11.0-189.v976fa_d3379d6
opentelemetry-api:1.49.0.59.vc32561e77cf3
oss-symbols-api:324.v432cce4172ca_
parameter-separator:276.v7b_5328f5c7a_d
people-view:1.2
pipeline-build-step:567.vea_ce550ece97
pipeline-graph-analysis:235.vb_a_a_36b_f248c2
pipeline-groovy-lib:752.vdddedf804e72
pipeline-input-step:517.vf8e782ee645c
pipeline-maven:1508.v347c4b_692202
pipeline-maven-api:1508.v347c4b_692202
pipeline-milestone-step:127.vb_52887ca_3b_6d
pipeline-model-api:2.2255.v56a_15e805f12
pipeline-model-definition:2.2255.v56a_15e805f12
pipeline-model-extensions:2.2255.v56a_15e805f12
pipeline-rest-api:2.38
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2255.v56a_15e805f12
pipeline-stage-view:2.38
pipeline-utility-steps:2.19.0
plain-credentials:199.v9f8e1f741799
plugin-util-api:6.1.0
popper-api:1.16.1-3
popper2-api:2.11.6-5
publish-over:0.22
publish-over-cifs:0.16
publish-over-ftp:248.v1487ff759c7a_
publish-over-ssh:387.vec3df0f668cd
readonly-parameters:1.0.0
rebuild:338.va_0a_b_50e29397
resource-disposer:0.25
saml:4.525.v4f6a_7209447e
scm-api:704.v3ce5c542825a_
script-security:1373.vb_b_4a_a_c26fa_00
snakeyaml-api:2.3-125.v4d77857a_b_402
sonar:2.18
ssh-credentials:361.vb_f6760818e8c
ssh-slaves:3.1031.v72c6b_883b_869
sshd:3.353.v2b_d33c46e970
structs:353.v261ea_40a_80fb_
subversion:1287.vd2d507146906
token-macro:444.v52de7e9c573d
trilead-api:2.209.v0e69b_c43c245
uno-choice:2.8.4
variant:70.va_d9f17f859e0
view-job-filters:399.v6c89d5e6ff54
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1371.ve334280b_d611
workflow-basic-steps:1079.vce64b_a_929c5a_
workflow-cps:4106.v7a_8a_8176d450
workflow-durable-task-step:1405.v1fcd4a_d00096
workflow-job:1520.v56d65e3b_4566
workflow-multibranch:806.vb_b_688f609ee9
workflow-scm-step:437.v05a_f66b_e5ef8
workflow-step-api:706.v518c5dcb_24c0
workflow-support:968.v8f17397e87b_8
xvnc:1.28
```
3 attachments
- [image-2025-08-06-15-53-50-387.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/64744/image-2025-08-06-15-53-50-387.png)
> 
- [image-2025-08-08-11-25-31-525.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/64758/image-2025-08-08-11-25-31-525.png)
> 
- [screenshot-1.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/64757/screenshot-1.png)
> 
Contributor guide
Research direction
Start in the authorize-project-plugin by reproducing the issue with a freestyle job using Git and the “Run as Specific User” authorization option, comparing it with a pipeline job. Trace how the configured credentials are presented in the freestyle job; done means the expected credentials are selectable without changing the working pipeline behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java
- Domain
- authorization, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100