Revert "add aud to jwt"

This reverts commit 97780eb079.
This commit is contained in:
bence committed 2023-04-12 02:03:15 +02:00
1 parent c9a06e5ada
commit 31ff9b287d
3 files changed
+2 -17

No files matched your search

-1
View File
@@ -59,7 +59,6 @@ class OAuthController
'iat' => (int)$token->getCreatedDate()->getTimestamp(),
'nbf' => (int)$token->getCreatedDate()->getTimestamp(),
'exp' => (int)$token->getExpiresDate()->getTimestamp(),
'aud' => $token->getAudience(),
'nonce' => $token->getNonce()
], $this->getUserInfoInternal(
$this->userRepository->getById($token->getUserId()),