openid-client 5.3.2 → 5.3.3
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 +10 -2
- package/lib/helpers/deep_clone.js +1 -3
- package/lib/helpers/keystore.js +1 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,6 +93,11 @@ Node.js LTS releases Codename Erbium and newer LTS releases are supported.
|
|
|
93
93
|
npm install openid-client
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
+
Note: Other javascript runtimes are not supported.
|
|
97
|
+
I recommend [panva/oauth4webapi][oauth4webapi], or a derivate thereof, if you're
|
|
98
|
+
looking for a similarly compliant and certified client software that's not dependent
|
|
99
|
+
on the Node.js runtime builtins.
|
|
100
|
+
|
|
96
101
|
## Quick start
|
|
97
102
|
|
|
98
103
|
Discover an Issuer configuration using its published .well-known endpoints
|
|
@@ -252,8 +257,10 @@ private API and is subject to change between any versions.
|
|
|
252
257
|
|
|
253
258
|
#### How do I use it outside of Node.js
|
|
254
259
|
|
|
255
|
-
It is **only built for Node.js
|
|
256
|
-
|
|
260
|
+
It is **only built for Node.js**. Other javascript runtimes are not supported.
|
|
261
|
+
I recommend [panva/oauth4webapi][oauth4webapi], or a derivate thereof, if you're
|
|
262
|
+
looking for a similarly compliant and certified client software that's not dependent
|
|
263
|
+
on the Node.js runtime builtins.
|
|
257
264
|
|
|
258
265
|
#### How to make the client send client_id and client_secret in the body?
|
|
259
266
|
|
|
@@ -295,3 +302,4 @@ See [Customizing (docs)][documentation-customizing].
|
|
|
295
302
|
[documentation-methods]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#client-authentication-methods
|
|
296
303
|
[documentation-webfinger]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#issuerwebfingerinput
|
|
297
304
|
[express-openid-connect]: https://www.npmjs.com/package/express-openid-connect
|
|
305
|
+
[oauth4webapi]: https://github.com/panva/oauth4webapi#readme
|
package/lib/helpers/keystore.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
const v8 = require('v8');
|
|
2
|
-
|
|
3
1
|
const jose = require('jose');
|
|
4
2
|
|
|
5
|
-
const clone =
|
|
6
|
-
|
|
3
|
+
const clone = require('./deep_clone');
|
|
7
4
|
const isPlainObject = require('./is_plain_object');
|
|
8
5
|
const isKeyObject = require('./is_key_object');
|
|
9
6
|
|