Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Do not use basic access authentication #6

Merged
merged 1 commit into from
Jul 7, 2024
Merged

Conversation

edigaryev
Copy link
Collaborator

Action Toolkit, unfortunately, manually craft their own HTTP request, omitting the basic access authentication credentials that may be present in the URL returned in the GHA cache protocol.

So, the only way to pass credentials seems to be using URL's query parameters, but to avoid exposing the OIDC token trusted to us in the URL's query, generate our own short-lived JWT token for these purposes.

@edigaryev edigaryev requested a review from fkorotkov July 5, 2024 09:26
@edigaryev edigaryev merged commit cfe8d2f into main Jul 7, 2024
3 checks passed
@edigaryev edigaryev deleted the do-not-use-basic-auth branch July 7, 2024 08:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants