Adds flash-ext-security-oauth-server: an OAuth 2.1 authorization server for resources on the application's own origin (code + PKCE S256, CIMD and DCR clients, RFC 8707 resources, RFC 9068 access tokens, rotating refresh tokens).
Around it:
SecurityExtension resolves a configured origin; Request.origin() no longer trusts X-Forwarded-*.
Mechanisms expose schemes(); a route can be restricted to some mechanisms, and McpConfig.mechanisms(...) uses that.
OIDC bearers must be typed at+jwt.
PublicUrl guards outbound fetches (OIDC discovery, CIMD) against internal addresses.
OAuthTestClient in flash-ext-security-test.
Tests: flash core (711) and the security/MCP/OpenAPI modules pass.
Adds `flash-ext-security-oauth-server`: an OAuth 2.1 authorization server for resources on the application's own origin (code + PKCE S256, CIMD and DCR clients, RFC 8707 resources, RFC 9068 access tokens, rotating refresh tokens).
Around it:
- `SecurityExtension` resolves a configured origin; `Request.origin()` no longer trusts `X-Forwarded-*`.
- Mechanisms expose `schemes()`; a route can be restricted to some mechanisms, and `McpConfig.mechanisms(...)` uses that.
- OIDC bearers must be typed `at+jwt`.
- `PublicUrl` guards outbound fetches (OIDC discovery, CIMD) against internal addresses.
- `OAuthTestClient` in flash-ext-security-test.
Tests: flash core (711) and the security/MCP/OpenAPI modules pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
flash-ext-security-oauth-server issues RFC 9068 access tokens (code + PKCE S256,
CIMD and DCR clients, RFC 8707 resources, rotating refresh tokens) for resources on
the application's own origin. Around it: SecurityExtension resolves a configured
origin instead of X-Forwarded-* headers, mechanisms expose schemes() and a route can
be restricted to some of them, McpConfig.mechanisms(...) uses that, OIDC bearers must
be typed at+jwt, and PublicUrl guards outbound fetches against internal addresses.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Relism
merged commit 6d44f9e7b1 into master2026-09-22 11:42:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds
flash-ext-security-oauth-server: an OAuth 2.1 authorization server for resources on the application's own origin (code + PKCE S256, CIMD and DCR clients, RFC 8707 resources, RFC 9068 access tokens, rotating refresh tokens).Around it:
SecurityExtensionresolves a configured origin;Request.origin()no longer trustsX-Forwarded-*.schemes(); a route can be restricted to some mechanisms, andMcpConfig.mechanisms(...)uses that.at+jwt.PublicUrlguards outbound fetches (OIDC discovery, CIMD) against internal addresses.OAuthTestClientin flash-ext-security-test.Tests: flash core (711) and the security/MCP/OpenAPI modules pass.
🤖 Generated with Claude Code