fix nonce
This commit is contained in:
parent
d82e17422c
commit
8a3fe76499
@ -111,7 +111,7 @@ class OAuthController
|
|||||||
'aud' => $session->getClientId(),
|
'aud' => $session->getClientId(),
|
||||||
];
|
];
|
||||||
if ($session->getNonce() !== null) {
|
if ($session->getNonce() !== null) {
|
||||||
$commonPayload['none'] = $session->getNonce();
|
$commonPayload['nonce'] = $session->getNonce();
|
||||||
}
|
}
|
||||||
$idTokenPayload = array_merge($commonPayload, $this->getUserInfoInternal(
|
$idTokenPayload = array_merge($commonPayload, $this->getUserInfoInternal(
|
||||||
$this->userRepository->getById($session->getUserId()),
|
$this->userRepository->getById($session->getUserId()),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user