fix(oauth): add registration_endpoint to the static .well-known/oauth-authorization-server (DCR discovery)

The well-known AS metadata is served from a generated static file; it was missing
registration_endpoint so Claude.ai could not discover DCR. Regenerate after deploy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q8t9GEyyLZbUQu26na1JQg
This commit is contained in:
2026-10-16 21:46:38 +00:00
parent c63762487c
commit f2b7a4edf3
+1
View File
@@ -136,6 +136,7 @@ echo json_encode([
'issuer' => get_site_url(), 'issuer' => get_site_url(),
'authorization_endpoint' => $base . '/oauth/authorize', 'authorization_endpoint' => $base . '/oauth/authorize',
'token_endpoint' => $base . '/oauth/token', 'token_endpoint' => $base . '/oauth/token',
'registration_endpoint' => $base . '/oauth/register',
'token_endpoint_auth_methods_supported' => ['client_secret_post', 'client_secret_basic', 'none'], 'token_endpoint_auth_methods_supported' => ['client_secret_post', 'client_secret_basic', 'none'],
'grant_types_supported' => ['authorization_code', 'client_credentials'], 'grant_types_supported' => ['authorization_code', 'client_credentials'],
'response_types_supported' => ['code'], 'response_types_supported' => ['code'],