-
Bug
-
Resolution: Done
-
Major
-
1.4.0
-
False
-
-
False
-
-
Description of the problem:
When trying to create a workflow using the software template, and choosing the "Create a new Quay repository option", the pipeline fails with the following error:
12024-12-31T14:10:11.938Z Beginning step Create Quay Repository
22024-12-31T14:10:12.440Z Error: Failed to create Quay repository, 403 -- CSRF token was invalid or missing.3 at Object.handler (/opt/app-root/src/dynamic-plugins-root/janus-idp-backstage-scaffolder-backend-module-quay-dynamic-1.7.2/dist/cjs/createQuayRepository-040c3a03.cjs.js:111:15)
When examining the network calls, the following is seen in the payload:

Following investigation with rh-ee-eshalev , the token was being passed as a secret, but the template was not parsing the secret correctly, so null was being passed as a parameter.
How reproducible: 100%
Steps to reproduce:
1. Create template using 1.4 version of software template. Choose the Create New Quay Repository option.
Actual results: See above
Expected results: Quay repo should be created as expected.
- links to