You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{equal}from"node:assert";import{discovery}from"openid-client";constconfig=awaitdiscovery(newURL("https://accounts.google.com"),"clientId","clientSecret");equal(config.serverMetadata().code_challenge_methods_supported?.includes("S256"),true);// The following line throws an errorequal(config.serverMetadata().supportsPKCE(),true);
Required
I have searched the issues tracker and discussions for similar topics and couldn't find anything related.
What happened?
supportsPKCE return value is incorrect.
openid-client/src/index.ts
Lines 1464 to 1472 in ff1436e
The following code may be more correct.
Version
v6.1.0
Runtime
Node.js
Runtime Details
v20.17.0
Code to reproduce
Required
The text was updated successfully, but these errors were encountered: