From eb4ebb958242114f459c198fe05ab7bacaf41429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Wed, 12 Apr 2023 02:05:44 +0200 Subject: [PATCH] send clientId as aud --- src/Controller/OAuthController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controller/OAuthController.php b/src/Controller/OAuthController.php index abd7a70..0156209 100644 --- a/src/Controller/OAuthController.php +++ b/src/Controller/OAuthController.php @@ -59,6 +59,7 @@ class OAuthController 'iat' => (int)$token->getCreatedDate()->getTimestamp(), 'nbf' => (int)$token->getCreatedDate()->getTimestamp(), 'exp' => (int)$token->getExpiresDate()->getTimestamp(), + 'aud' => $clientId, 'nonce' => $token->getNonce() ], $this->getUserInfoInternal( $this->userRepository->getById($token->getUserId()),