Error 403 No valid crumb was included in the request
Edit on GitHubYou get the error: Error 403 No valid crumb was included in the request
Solution
Enable Jenkins CSRF protection:
- In the deploy file, enable the usage of the CSRF variable:
...
services:
scheduler:
csrf-protection-enabled: true
...
- In the config file, enable Jenkins CSRF protection by defining the CSRF variable:
...
$config[SchedulerJenkinsConstants::JENKINS_CONFIGURATION] = [
SchedulerConfig::SCHEDULER_JENKINS => [
SchedulerJenkinsConfig::SCHEDULER_JENKINS_CSRF_ENABLED => (bool)getenv('SPRYKER_JENKINS_CSRF_PROTECTION_ENABLED'),
],
];
...
Thank you!
For submitting the form