From c69e194c74a26c5a03d72e6a2dc6b8231d8bced3 Mon Sep 17 00:00:00 2001 From: Rick Lambrechts Date: Sat, 30 Dec 2023 00:19:01 +0100 Subject: [PATCH] Add fake sub in test claims --- tests/OpenIDConnectClientTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/OpenIDConnectClientTest.php b/tests/OpenIDConnectClientTest.php index a16be71b..f895879c 100644 --- a/tests/OpenIDConnectClientTest.php +++ b/tests/OpenIDConnectClientTest.php @@ -26,6 +26,7 @@ public function testAuthenticateDoesNotThrowExceptionIfClaimsIsMissingNonce() $fakeClaims = new StdClass(); $fakeClaims->iss = 'fake-issuer'; $fakeClaims->aud = 'fake-client-id'; + $fakeClaims->sub = 'fake-sub'; $fakeClaims->nonce = null; $_REQUEST['id_token'] = 'abc.123.xyz';