diff --git a/.changeset/weak-pots-know.md b/.changeset/weak-pots-know.md new file mode 100644 index 00000000000..89d2c88b4a8 --- /dev/null +++ b/.changeset/weak-pots-know.md @@ -0,0 +1,5 @@ +--- +"@smithy/experimental-identity-and-auth": patch +--- + +Fix typo in `HttpAuthScheme` not enabled message in `httpAuthSchemeMiddleware`. diff --git a/packages/experimental-identity-and-auth/src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts b/packages/experimental-identity-and-auth/src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts index 62239ee29d9..0fd0f53a103 100644 --- a/packages/experimental-identity-and-auth/src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts +++ b/packages/experimental-identity-and-auth/src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts @@ -84,7 +84,7 @@ export const httpAuthSchemeMiddleware = < for (const option of options) { const scheme = authSchemes.get(option.schemeId); if (!scheme) { - failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enable for this service.`); + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`); continue; } const identityProvider = scheme.identityProvider(config.identityProviderConfig);