-
v0.1.0-dev.28
Pre-releaseAll checks were successfulreleased this
2026-11-20 14:37:54 +00:00 | 145 commits to main since this releasev0.1.0-dev.28 — Open WebUI MCP sign-in fix (pre-release)
Fixes
OAuth callback failed: invalid_request ... The 'resource' or 'scope' parameter is invalidwhen an MCP client (Open WebUI) signs in to Corn.- Cause: MCP clients send an RFC 8707
resource(Corn's/mcpURL). Corn's
login proxy forwarded it to Pocket ID, which rejects the whole authorization
unless that resource is a registered API granted to Corn's client. - Fix (
src/corn/auth.py): the Pocket ID login no longer forwardsresource.
Corn still validates its own issued tokens and the upstream token audience
(CORN_OIDC_AUDIENCE) exactly as before; no Pocket ID change is needed.
No API, Compose or database changes. Upgrade:
docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps cornSource commit
33188a18533baeb4cc8b08dc39ba27b29de1ee13.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Cause: MCP clients send an RFC 8707