mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Bug: add resource parameter to MCP OAuth Flow (#4981)
Co-authored-by: Your Name <you@example.com>
This commit is contained in:
@@ -151,6 +151,7 @@ describe('MCPOAuthProvider', () => {
|
||||
expect.objectContaining({ accessToken: 'access_token_123' }),
|
||||
'test-client-id',
|
||||
'https://auth.example.com/token',
|
||||
undefined,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -551,6 +552,7 @@ describe('MCPOAuthProvider', () => {
|
||||
expect.objectContaining({ accessToken: 'new_access_token' }),
|
||||
'test-client-id',
|
||||
'https://auth.example.com/token',
|
||||
undefined,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user