Error 403 No valid crumb was included in the requestEdit on GitHub
You get the error:
Error 403 No valid crumb was included in the request
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'), ], ]; ...
For submitting the form