openid-client 6.1.0 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ import * as client from 'openid-client'
|
|
|
57
57
|
- JWT Secured Authorization Request (JAR) - [source](examples/jar.ts) | [diff](examples/jar.diff)
|
|
58
58
|
- JWT Secured Authorization Response Mode (JARM) - [source](examples/jarm.ts) | [diff](examples/jarm.diff)
|
|
59
59
|
- Pushed Authorization Request (PAR) - [source](examples/par.ts) | [diff](examples/par.diff)
|
|
60
|
-
- Passport Strategy - [source](passport.ts)
|
|
60
|
+
- Passport Strategy - [source](examples/passport.ts)
|
|
61
61
|
|
|
62
62
|
## Quick start
|
|
63
63
|
|
package/build/index.js
CHANGED
|
@@ -5,7 +5,7 @@ let headers;
|
|
|
5
5
|
let USER_AGENT;
|
|
6
6
|
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
|
|
7
7
|
const NAME = 'openid-client';
|
|
8
|
-
const VERSION = 'v6.1.
|
|
8
|
+
const VERSION = 'v6.1.1';
|
|
9
9
|
USER_AGENT = `${NAME}/${VERSION}`;
|
|
10
10
|
headers = { 'user-agent': USER_AGENT };
|
|
11
11
|
}
|
|
@@ -341,7 +341,7 @@ function getServerHelpers(metadata) {
|
|
|
341
341
|
supportsPKCE: {
|
|
342
342
|
__proto__: null,
|
|
343
343
|
value(method = 'S256') {
|
|
344
|
-
return (metadata.code_challenge_methods_supported?.includes(method)
|
|
344
|
+
return (metadata.code_challenge_methods_supported?.includes(method) === true);
|
|
345
345
|
},
|
|
346
346
|
},
|
|
347
347
|
};
|