jenkinsci / jenkinsci/configuration-as-code-plugin

reload-configuration-as-code/?casc-reload-token=<token> throws HTTP/1.1 403 Forbidden

Open
#2,524 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.8k
Forks
756
Avg merge
9h 47m
Merged PRs (30d)
10

Description

### Jenkins and plugins versions report

Environment


```text
Jenkins version: 2.452.2
configuration as code plugin version: 1810.v9b_30a_249a_4c
```

### What Operating System are you using (both controller, and any agents involved in the problem)?

jenkins/jenkins:2.452.2-lts-alpine docker image platform=linux/amd64

Only controller is involved in the problem

### Reproduction steps

1. set JAVA_OPTS environment variable -Dcasc.reload.token=
image

2. curl -X POST "JENKINS_URL/reload-configuration-as-code/?casc-reload-token="
image

### Expected Results

Reload successfull with 200 response code

### Actual Results

403 Forbidden. Authentication required

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.