Skip to content

feat: add custom audience support to user JWT builder#2717

Merged
migmartri merged 1 commit into
chainloop-dev:mainfrom
migmartri:migmartri/gated-release
Feb 9, 2026
Merged

feat: add custom audience support to user JWT builder#2717
migmartri merged 1 commit into
chainloop-dev:mainfrom
migmartri:migmartri/gated-release

Conversation

@migmartri

Copy link
Copy Markdown
Member

Add WithAudience functional option to allow generating JWT tokens with custom audience claims. This enables separate validation paths for different token types (e.g., MCP user tokens) while maintaining backward compatibility with the default audience.

Also updates license headers to 2023-2026 and clarifies the CLAUDE.md license header rule for 2026.

Add WithAudience functional option to allow generating JWT tokens with custom audience claims. This enables separate validation paths for different token types (e.g., MCP user tokens) while maintaining backward compatibility with the default audience.

Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
@migmartri migmartri merged commit afa7c8c into chainloop-dev:main Feb 9, 2026
13 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