openid-client 5.3.1 → 5.3.2

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 CHANGED
@@ -284,14 +284,14 @@ See [Customizing (docs)][documentation-customizing].
284
284
  [npm-url]: https://www.npmjs.com/package/openid-client
285
285
  [sponsor-auth0]: https://a0.to/try-auth0
286
286
  [support-sponsor]: https://github.com/sponsors/panva
287
- [documentation]: https://github.com/panva/node-openid-client/blob/master/docs/README.md
288
- [documentation-issuer]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#issuer
289
- [documentation-client]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#client
290
- [documentation-customizing]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#customizing
291
- [documentation-tokenset]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#tokenset
292
- [documentation-strategy]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#strategy
293
- [documentation-errors]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#errors
294
- [documentation-generators]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#generators
295
- [documentation-methods]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#client-authentication-methods
296
- [documentation-webfinger]: https://github.com/panva/node-openid-client/blob/master/docs/README.md#issuerwebfingerinput
287
+ [documentation]: https://github.com/panva/node-openid-client/blob/main/docs/README.md
288
+ [documentation-issuer]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#issuer
289
+ [documentation-client]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#client
290
+ [documentation-customizing]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#customizing
291
+ [documentation-tokenset]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#tokenset
292
+ [documentation-strategy]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#strategy
293
+ [documentation-errors]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#errors
294
+ [documentation-generators]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#generators
295
+ [documentation-methods]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#client-authentication-methods
296
+ [documentation-webfinger]: https://github.com/panva/node-openid-client/blob/main/docs/README.md#issuerwebfingerinput
297
297
  [express-openid-connect]: https://www.npmjs.com/package/express-openid-connect
@@ -41,6 +41,11 @@ function OpenIDConnectStrategy(
41
41
  this._usePKCE = usePKCE;
42
42
  this._key = sessionKey || `oidc:${url.parse(this._issuer.issuer).hostname}`;
43
43
  this._params = cloneDeep(params);
44
+
45
+ // state and nonce are handled in authenticate()
46
+ delete this._params.state;
47
+ delete this._params.nonce;
48
+
44
49
  this._extras = cloneDeep(extras);
45
50
 
46
51
  if (!this._params.response_type) this._params.response_type = resolveResponseType.call(client);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openid-client",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs",
5
5
  "keywords": [
6
6
  "auth",