We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f84e778 commit 9e60bbaCopy full SHA for 9e60bba
packages/insomnia/src/main/mcp/transport-streamable-http.ts
@@ -161,7 +161,7 @@ const wrappedFetch = async (
161
}
162
163
const { resourceMetadataUrl, scope: scopeFromWWWAuthenticate } = extractWWWAuthenticateParams(response);
164
- // Use scope from authenticate header if available, otherwise use scope from www authentication params
+ // Use scope from authenticate config if available, otherwise use scope from WWW-Authenticate header
165
const scope = 'scope' in authentication && authentication.scope ? authentication.scope : scopeFromWWWAuthenticate;
166
if (resourceMetadataUrl) {
167
authProvider.saveResourceMetadataUrl(resourceMetadataUrl);
0 commit comments