From f1aa9dbf304940061cb5efb350e68381b9887f9d Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 18 Oct 2024 21:34:22 +0200 Subject: [PATCH] fix: correct supportsPKCE bool return fixes #710 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index debea021..1251faef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1465,7 +1465,7 @@ function getServerHelpers(metadata: Readonly) { __proto__: null, value(method = 'S256') { return ( - metadata.code_challenge_methods_supported?.includes(method) !== true + metadata.code_challenge_methods_supported?.includes(method) === true ) }, },