I'm trying to have a job upload output to dcache over https,
authenticating with a scitoken. In my submit file I have:
Condor does send the token at $_CONDOR_CREDS/dune.use, but this
file only contains the encoded token itself, which we expect in
order to use the token in the job. However, uploading output
fails with "Unable to parse token as JSON", since the file
transfer plugin expects the dune.use file to be JSON with the
token under the "access_token" field.
https://github.com/htcondor/htcondor/blob/main/src/condor_filetransfer_plugins/multifile_curl_plugin.cpp#L131
Is this a bug in the file transfer plugin, or can I just not use
the oauth token like that? The documentation suggests it should
work in
https://htcondor.readthedocs.io/en/latest/users-manual/file-transfer.html#file-transfer-using-a-url