Hi team :wave: I’m trying to authenticate using OI...
# general
m
Hi team 👋 I’m trying to authenticate using OIDC Connect in my GitHub Actions workflow, after having followed your docs to use the pulumi/auth-actions action. I’m running into this error:
Copy code
Error: Invalid response from token exchange 401: Unauthorized (access_denied: policy authorization error: Org tokens are not supported for non enterprise organizations)
Do I understand correctly that this action can only be used by teams on the Enterprise plan? Or am I requesting the wrong token type? Thanks 🙏
d
Looks like organisation and team tokens are only available on enterprise. Try configuring it as a personal access token
s
Team tokens should be supported by team edition.
m
Similar error when requesting a team token:
Copy code
Error: Invalid response from token exchange 401: Unauthorized (access_denied: policy authorization error: Team tokens are not supported for non enterprise organizations)
And also no luck with personal token:
Copy code
Error: Invalid response from token exchange 401: Unauthorized (access_denied: unauthorized)
s
@melodic-market-81795 My apologies. @dry-keyboard-94795 is correct: They are only available for Enterprise and Business Critical customers. I've be submitting a PR to the docs to make this more clear. The docs page (not yet updated at the time of writing) is here: https://www.pulumi.com/docs/pulumi-cloud/access-management/access-tokens/#team-access-tokens