Skip to content

feat: merge string claims across scopes instead of erroring - #1

Merged
wolf4ood merged 4 commits into
mainfrom
fix/scope_merge
Jun 4, 2026
Merged

feat: merge string claims across scopes instead of erroring#1
wolf4ood merged 4 commits into
mainfrom
fix/scope_merge

Conversation

@paullatzelsperger

@paullatzelsperger paullatzelsperger commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • When multiple requested scopes define the same string-typed claim key, values are now concatenated space-separated instead of returning a conflict error. Non-string type conflicts still error because they are un-mergeable.
  • Adds path/body scope mismatch validation in the update_scope_mapping handler.
  • Fixes bearer token parsing to use strip_prefix directly instead of a lowercase conversion that discarded the original case.
  • adds a CI job step to run the E2E tests

paullatzelsperger and others added 3 commits June 3, 2026 08:57
When multiple requested scopes define the same string-typed claim key,
concatenate the values space-separated rather than returning a conflict
error. Non-string conflicts still error. Also adds path/body scope
mismatch validation in the update handler, fixes bearer token parsing,
adds e2e CI job, multi-arch image builds, and scope-merge e2e test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wolf4ood
wolf4ood merged commit 8dbd8a8 into main Jun 4, 2026
5 checks passed
@paullatzelsperger
paullatzelsperger deleted the fix/scope_merge branch June 4, 2026 16:26
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