You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When no client credentials are pre-configured and AS metadata advertises registration_endpoint, the client must POST client_metadata to register itself dynamically. When credentials are pre-provided via Builder, skip registration.
Scope
Mcp\Client\Auth\DynamicClientRegistrar:
POST client_metadata (client_name, redirect_uris, grant_types, token_endpoint_auth_method, software_id, software_version) to registration_endpoint.
Persist returned client_id / client_secret / client_secret_expires_at via TokenStorageInterface.
Client\Builder::setOAuthClient(string $clientId, ?string $clientSecret = null) for pre-registration.
Conformance scenarios unblocked
auth/pre-registration (and unblocks every other auth scenario by providing a client_id).
SEP-837 — DCR must accept the OIDC application_type parameter (web vs native). For server-side PHP SDK usage the typical value is web (confidential client), but the builder should expose the choice for CLI/desktop-bridge scenarios.
See umbrella #338 for the full MCP Spec 2026-07-28 authorization milestone.
Activity
chr-hertel commentedon May 26, 2026
Cross-reference: this work covers two 2026-07-28 SEPs:
application_typeparameter (webvsnative). For server-side PHP SDK usage the typical value isweb(confidential client), but the builder should expose the choice for CLI/desktop-bridge scenarios.See umbrella #338 for the full MCP Spec 2026-07-28 authorization milestone.
[Client] Add OAuth authorization to the HTTP transport
[Client] Add OAuth authorization to the HTTP transport