Skip to content

Conversation

@mxab
Copy link
Owner

@mxab mxab commented Oct 2, 2025

If the proxy is set to resolve tokens for extended admission context but receives a non-admissionable request e.g "GET /v1/jobs" for just viewing it currently tries to resolve the token as well. this is problematic as e.g. UI users might not yet have authenticated.

This PR ensures that token resolving only happens on validate/plan/register calls

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 2, 2025

@mxab
Copy link
Owner Author

mxab commented Oct 2, 2025

Also related to hashicorp/nomad#25609

@mxab mxab merged commit 8793e10 into main Oct 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants