-
Notifications
You must be signed in to change notification settings - Fork 298
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
OidcClient.getCall failing in self-hosted Runners. #477
Comments
Hi @Powertrain , please try the steps in #283 (comment). |
@YanaXu Thanks for the response! Following the advice from #283
However this still results in a failed run with the following information:
|
Hi @Powertrain, could you raise your question to this repo: https://github.com/actions/toolkit ? |
https://github.com/Azure/login/blob/v2.1.1/lib/main/index.js Line: 545-546 Both After branching my own version and changing the the output to
Thanks for any assistance going forward. |
https://github.com/Azure/login/blob/v2.1.1/lib/main/index.js I am running into further issues with v2.1.1 Line: 4004 When the line is commented out, the subsequent Would you recommend swapping the version of Azure/Login I am using? |
@Powertrain could you run |
Thanks for the response! Upgrading from azure-cli2.39 to azure-cli2.63 will run action/[email protected] again once complete. |
https://github.com/Azure/login/blob/6c251865b4e6290e7b78be643ea2d005bc51f69a/lib/main/index.js#L565C40-L565C50
Environments
Issue:
Please make sure to give write permissions to id-token in the workflow.
Login failed with Error: Error message: Cannot read properties of undefined (reading 'message'). Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
const id_token = yield OidcClient.getCall(id_token_url);
Is this a failure on the runner side, or a federated credential issue on the other end?
Thanks for any assistance.
The text was updated successfully, but these errors were encountered: