Highlights
sm-oauthserver-plugin can now be the MCP authorization server for administrators. Set mcp.subject: backend and an editor adds the site's /mcp as a connector, signs in once with their /gfadmin account, and the agent gets the backend tools that account may use. The mode is off by default; applications on the frontend-user flow are unchanged. Requires SummerCMS v0.6.7.
Added
- Backend-subject mode (
mcp.subject: backend). The authorize endpoint hands off to the admin consent screen (mcp.consent_path, which defaults to<backend.uri>/connect). Grants are capped likeg15_personal tokens. - Optional OpenID Connect provider.
oidc.enabled: falseturns off discovery, JWKS and the OpenID Connect endpoints, for sites that only need MCP sign-in. - MCP connections. Each administrator sees and revokes their own agents on My account. A superuser, or a holder of
golem15.oauthserver.manage_mcp_connections, sees and revokes everyone's under OAuth clients › MCP connections. - Automatic revocation. An administrator's agents end at once when that administrator is deleted, deactivated or has their password changed, or when their role, permissions or superuser flag change. Refresh tokens rotate.
Changed
- With MCP enabled, an invalid
mcp.consent_pathnow fails boot instead of failing each authorize request. - In backend mode, a loopback
mcp.resourcebehind a public issuer fails boot; in user mode it logs a warning. Set the resource to<app.url>/mcpin production. - Administrators' grants are honoured only in backend mode.
Fixed
- A refresh no longer holds one database connection while waiting for another.
- A temporary database error during a refresh now returns a retryable error instead of ending the connection.
- The consent decision and the code exchange re-check the administrator, so a consent racing a password change or deactivation yields no tokens.
- A pending request's code is issued only once, even when two administrators decide it at the same time.