Error in generating cloud access token

This issue has been tracked since 2022-05-29.

Hi All,
I have followed the workload identity federation based authentication approach to authenticate my gcp account but, I am getting below error:

Error: google-github-actions/auth failed with: retry function failed with 0 attempts: failed to generate Google Cloud access token for ***: {
  "error": {
    "code": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED"
  }
}

##https://github.com/SPCSEKOL/gcp-boot-demo/runs/6642437534?check_suite_focus=true
Please check.

sethvargo wrote this answer on 2022-05-29

Hi @SPCSEKOL

Thank you for opening an issue. Please follow the troubleshooting steps. As noted in the troubleshooting guide, the most common reason for this error is misconfigured attribute mappings.

If you are unable to resolve the issue after the troubleshooting steps, please open a new issue and use one of our issue templates. This helps us collect the required information to try and reproduce the issue.

More Details About Repo
Owner Name google-github-actions
Repo Name auth
Full Name google-github-actions/auth
Language TypeScript
Created Date 2021-09-16
Updated Date 2023-03-24
Star Count 573
Watcher Count 16
Fork Count 116
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date