mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Fix typo in RFC 9728 impl (#5126)
This commit is contained in:
committed by
GitHub
parent
008051e42d
commit
327f915610
@@ -140,7 +140,7 @@ describe('OAuthUtils', () => {
|
||||
describe('parseWWWAuthenticateHeader', () => {
|
||||
it('should parse resource metadata URI from WWW-Authenticate header', () => {
|
||||
const header =
|
||||
'Bearer realm="example", resource_metadata_uri="https://example.com/.well-known/oauth-protected-resource"';
|
||||
'Bearer realm="example", resource_metadata="https://example.com/.well-known/oauth-protected-resource"';
|
||||
const result = OAuthUtils.parseWWWAuthenticateHeader(header);
|
||||
expect(result).toBe(
|
||||
'https://example.com/.well-known/oauth-protected-resource',
|
||||
|
||||
Reference in New Issue
Block a user