Skip to content

Commit

Permalink
Merge pull request #1571 from ConductionNL/fix/beheer-358/correct-data
Browse files Browse the repository at this point in the history
Write the correct value to log
  • Loading branch information
rjzondervan authored Oct 17, 2023
2 parents c3712de + 0fe478e commit 4fa1334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Security/OIDCAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function authenticate(Request $request): PassportInterface
$accessToken = $this->authenticationService->authenticate($method, $identifier, $code);
$result = json_decode(base64_decode(explode('.', $accessToken['access_token'])[1]), true);

$this->logger->notice('Received result from OIDC connector', ['authResult' => $result]);
$this->logger->notice('Received result from OIDC connector', ['authResult' => $accessToken]);

// Make sure groups is always an array, even if there are no groups.
if (is_array($result['groups']) === false && $result['groups'] !== null) {
Expand Down

0 comments on commit 4fa1334

Please sign in to comment.