diff options
| author | Tommaso Sciortino <[email protected]> | 2025-07-29 16:03:39 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-29 23:03:39 +0000 |
| commit | 327f915610406e4c159495eb734b3ffb0d32ffa4 (patch) | |
| tree | 447b2f3dffb4df2657c7c597f7fc17e4585765eb /packages/core/src/mcp/oauth-utils.ts | |
| parent | 008051e42d6f4df01c14bfc138e1acaf97cb854a (diff) | |
Fix typo in RFC 9728 impl (#5126)
Diffstat (limited to 'packages/core/src/mcp/oauth-utils.ts')
| -rw-r--r-- | packages/core/src/mcp/oauth-utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/mcp/oauth-utils.ts b/packages/core/src/mcp/oauth-utils.ts index 6dad17c8..64fd68be 100644 --- a/packages/core/src/mcp/oauth-utils.ts +++ b/packages/core/src/mcp/oauth-utils.ts @@ -198,8 +198,8 @@ export class OAuthUtils { * @returns The resource metadata URI if found */ static parseWWWAuthenticateHeader(header: string): string | null { - // Parse Bearer realm and resource_metadata_uri - const match = header.match(/resource_metadata_uri="([^"]+)"/); + // Parse Bearer realm and resource_metadata + const match = header.match(/resource_metadata="([^"]+)"/); if (match) { return match[1]; } |
