Better HN
topnewbestaskshowjobs
Log inSign up

tschm

1 karma · joined Apr 29, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

hi, I am trying to make it happen in my repo tschm/pyhrp. Currently I struggle to get the API token. Can you first confirm that the OICD token is only displayed as "**" in echo "OICD: {oicd_token}"

This fails

resp=$(curl -X POST https://pypi.org/_/oidc/github/mint-token -d "{\"token\": \"${oidc_token}\"}")

echo "RESP ${resp}"