Skip to content

Commit

Permalink
fix: correct supportsPKCE bool return
Browse files Browse the repository at this point in the history
fixes #710
  • Loading branch information
panva committed Oct 18, 2024
1 parent ff1436e commit f1aa9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ function getServerHelpers(metadata: Readonly<ServerMetadata>) {
__proto__: null,
value(method = 'S256') {
return (
metadata.code_challenge_methods_supported?.includes(method) !== true
metadata.code_challenge_methods_supported?.includes(method) === true
)
},
},
Expand Down

0 comments on commit f1aa9db

Please sign in to comment.