From f2b7a4edf3e9fcc11e942fb762e171f01e2ca310 Mon Sep 17 00:00:00 2001 From: colorlink Date: Fri, 16 Oct 2026 21:46:38 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01Q8t9GEyyLZbUQu26na1JQg --- includes/Core/Installer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Core/Installer.php b/includes/Core/Installer.php index 1d7f312..80b37f4 100644 --- a/includes/Core/Installer.php +++ b/includes/Core/Installer.php @@ -136,6 +136,7 @@ echo json_encode([ 'issuer' => get_site_url(), 'authorization_endpoint' => $base . '/oauth/authorize', 'token_endpoint' => $base . '/oauth/token', + 'registration_endpoint' => $base . '/oauth/register', 'token_endpoint_auth_methods_supported' => ['client_secret_post', 'client_secret_basic', 'none'], 'grant_types_supported' => ['authorization_code', 'client_credentials'], 'response_types_supported' => ['code'],