From 58ede4979022badf156ff837e6c1b0244be10894 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Tue, 22 Feb 2022 00:11:52 +0100 Subject: [PATCH] transactionCookie configuration should be optional should have been optional from the start since it defaults to `session.cookie.sameSite` (or its default), see https://github.com/auth0/express-openid-connect/commit/2f427f4ab4a3929436d2a16045add5f14a4a5aa5#diff-59cc4a3af1181865c858de26aa6d223f2c332351d061d6e6025d24fcd190bfb5R208 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 8b1b73e2..dc4bd643 100644 --- a/index.d.ts +++ b/index.d.ts @@ -465,7 +465,7 @@ interface ConfigParams { /** * Configuration parameters used for the transaction cookie. */ - transactionCookie: Pick; + transactionCookie?: Pick; /** * String value for the client's authentication method. Default is `none` when using response_type='id_token', otherwise `client_secret_basic`.