-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exchanging JSON web token with an access token failed: Input required and not supplied: oidc-provider-name #121
Comments
Hi @Jiri-Stary |
I have an action i am calling from my main workflow. The secrets are stored as repo secrets and passed as input into the action. I have extracted and sanitized the the code for the action. Going to previous version of setup-jfrog-cli "fixes" the issue.
|
@Jiri-Stary Your feedback on this is valuable to us. |
still getting the same issue
2024-01-18T15:27:34.9411512Z ##[debug]Register post job cleanup for action: jfrog/[email protected] |
@Jiri-Stary Do you happen to know the origin of the Also, does this issue occur in the latest 3.5.2 version? Thanks. |
no, the issue did not get fixed by 3.5.2. Exchanging JSON web token with an access token failed: Input required and not supplied: oidc-provider-name There was a new warning after Could not find JFrog CLI version '2.51.1' in tool cache JF_URL is not set as i run this part of the code inside its own action, where it is not passed from parent workflow. I am using directly the hardcoded url jf c add OSS-check --url='https://mckinsey.jfrog.io/' --user=${{ inputs.ARTIFACTORY_USER }} --password=${{ inputs.ARTIFACTORY_PASS }} --interactive=false --overwrite=true Yes , I do have these permissions permissions: |
tried adding JF_URL to setup command but no change
|
Thanks, @Jiri-Stary. |
Hey @Jiri-Stary, We'd appreciate your feedback on that! |
Describe the bug
env variables are not recognized - regression in v3.5.0
githubenv variables are not recognized, causing fallback to OICD which fails with this error
Current behavior
2024-01-17T17:02:34.2039427Z ::group::Setup JFrog CLI
2024-01-17T17:02:34.2039979Z ##[group]Setup JFrog CLI
2024-01-17T17:02:34.2056995Z ##[debug]Searching for JF_URL
2024-01-17T17:02:34.2057524Z ##[debug]JF_URL found
2024-01-17T17:02:34.2058097Z ##[debug]Searching for JF_ACCESS_TOKEN, JF_USER and JF_PASSWORD
2024-01-17T17:02:34.2059057Z JF_ACCESS_TOKEN and JF_USER + JF_PASSWORD weren't found. Getting access token using OpenID Connect
2024-01-17T17:02:34.2059835Z ##[debug]Fetching JSON web token
2024-01-17T17:02:34.2061755Z ##[debug]ID token url is https://pipelinesghubeus26.actions.githubusercontent.com/k75H1DBAfn7O6Mo0TRQmb014cDWVwCbkrZ6RY4JoockeD1mW9W/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/a5b3151a-44ff-4c0a-bb81-7544446f9994/jobs/6604c111-019b-5ed5-ae03-3fa9f8925512/idtoken?api-version=2.0
2024-01-17T17:02:34.3042451Z ::add-mask::***
2024-01-17T17:02:34.3045055Z ##[debug]Exchanging JSON web token with an access token
2024-01-17T17:02:34.3070577Z ##[error]Exchanging JSON web token with an access token failed: Input required and not supplied: oidc-provider-name
2024-01-17T17:02:34.3071739Z ::endgroup::
2024-01-17T17:02:34.3072010Z ##[endgroup]
2024-01-17T17:02:34.3123024Z ##[debug]Node Action run completed with exit code 1
2024-01-17T17:02:34.3125937Z ##[debug]JFROG_CLI_ENV_EXCLUDE='password;secret;key;token;auth;JF_ARTIFACTORY_;JF_ENV_;JF_URL;JF_USER;JF_PASSWORD;JF_ACCESS_TOKEN'
2024-01-17T17:02:34.3126916Z ##[debug]JFROG_CLI_OFFER_CONFIG='false'
2024-01-17T17:02:34.3127418Z ##[debug]JFROG_CLI_BUILD_NAME='goldenfrog-demo'
2024-01-17T17:02:34.3127921Z ##[debug]JFROG_CLI_BUILD_NUMBER='50'
2024-01-17T17:02:34.3128783Z ##[debug]JFROG_CLI_BUILD_URL='***********'
2024-01-17T17:02:34.3130110Z ##[debug]JFROG_CLI_USER_AGENT='setup-jfrog-cli-github-action/3.5.0'
Reproduction steps
setup jfrog cli using setup action v3.5.0
Expected behavior
no error
Setup JFrog CLI version
3.5.0
JFrog CLI version
2.52.9
Workflow operating system type and version
linux, ubuntu
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
The text was updated successfully, but these errors were encountered: