Skip to content
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

Allow external account type #723

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjgbeelen
Copy link

Summary

This should fix #722 , but not sure if it is enough

@bjgbeelen bjgbeelen requested review from TheKevJames and a team as code owners April 11, 2024 12:24
@bjgbeelen bjgbeelen requested review from leanaha and santiagofdialpad and removed request for a team April 11, 2024 12:24
Copy link
Member

@TheKevJames TheKevJames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate the contribution, but unfortunately this won't be enough -- we actually need to build the code which knows how to authenticate as an external account. See, for example, the Token.refresh() method, which would need to be updated to include a new workflow for refreshing said new type of token.

It sounds like (from reading #722) you've got a test case set up? You should be able to install gcloud-aio-auth from this branch for testing. Alternatively, if you could point us in the direction of that test case, it would be great if we could add that approach to our integration tests directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

external_account is not a valid Token enum value
3 participants