Skip to content

fix(e2e): adopt the verifier's oauth.jwt.mode enum - #8

Merged
y1o1 merged 1 commit into
developfrom
fix/e2e-jwt-mode-follow-up
Aug 27, 2026
Merged

fix(e2e): adopt the verifier's oauth.jwt.mode enum#8
y1o1 merged 1 commit into
developfrom
fix/e2e-jwt-mode-follow-up

Conversation

@y1o1

@y1o1 y1o1 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

auth.policy-verifier#134 replaced oauth.jwt.validate / allowInsecureDecode with mode = "verify" | "insecure-decode", and made the removed keys a boot error rather than a silent default. Since this E2E clones sibling repos from their default branches, tests/abac/application.conf setting validate = true breaks the verifier container as soon as that change is on the verifier's develop — which it now is.

This is the minimal follow-up: validatemode = "verify", env override OAUTH_JWT_VALIDATEOAUTH_JWT_MODE. Behavior is identical (full signature + iss/aud/typ verification); only the key spelling changed.

Verified there are no other references to the removed keys under tests/ or the Makefile. CI on this PR runs the full suite against the current sibling default branches, so a green run here is the real check.

🤖 Generated with Claude Code

auth.policy-verifier#134 replaced oauth.jwt.validate / allowInsecureDecode
with mode = "verify" | "insecure-decode" and made the removed keys a boot
error. The E2E clones siblings from their default branches, so the abac
suite broke the moment that landed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 27, 2026 12:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the ABAC E2E test configuration to match the auth.policy-verifier config change from oauth.jwt.validate to oauth.jwt.mode, preventing the verifier container from failing to boot when running this suite against the sibling repo’s current default branch.

Changes:

  • Replace oauth.jwt.validate = true / ${?OAUTH_JWT_VALIDATE} with oauth.jwt.mode = "verify" / ${?OAUTH_JWT_MODE}.
  • Update in-file comments to reflect the new enum-based configuration and boot-time validation behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@y1o1
y1o1 merged commit a9b1871 into develop Aug 27, 2026
2 checks passed
@y1o1
y1o1 deleted the fix/e2e-jwt-mode-follow-up branch August 27, 2026 12:16
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