Skip to content

feat(relayauth): add optional product_id to JWT claims#15

Merged
khaliqgant merged 1 commit intomainfrom
khaliq/platform-v1-relayauth-workspace-scope
Apr 20, 2026
Merged

feat(relayauth): add optional product_id to JWT claims#15
khaliqgant merged 1 commit intomainfrom
khaliq/platform-v1-relayauth-workspace-scope

Conversation

@kjgbot
Copy link
Copy Markdown

@kjgbot kjgbot commented Apr 20, 2026

Additive, MINOR bump. mint() accepts an optional productId, verify() surfaces it on the result without enforcing anything. Legacy tokens (no product_id) continue to validate exactly as before. Enforcement happens in downstream consumers behind a per-workspace policy flag (cloud/specs/platform-architecture-v1.md, wave 2).

Part of platform-v1 migration (issue #84).

Additive, MINOR bump. mint() accepts an optional productId, verify() surfaces it on the result without enforcing anything. Legacy tokens (no product_id) continue to validate exactly as before. Enforcement happens in downstream consumers behind a per-workspace policy flag (see cloud/specs/platform-architecture-v1.md, wave 2). No breaking change.
@kjgbot kjgbot force-pushed the khaliq/platform-v1-relayauth-workspace-scope branch from 1f46adb to f33bb02 Compare April 20, 2026 21:11
@khaliqgant khaliqgant merged commit 56c2f43 into main Apr 20, 2026
2 checks passed
@khaliqgant khaliqgant deleted the khaliq/platform-v1-relayauth-workspace-scope branch April 20, 2026 21:12
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