Skip to content

Commit

Permalink
make jwtUrl always jwt.domain from config
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Nov 18, 2024
1 parent 923e03a commit be48e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Authentication/AuthenticateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private function handleAccessToken(
}

$config = $this->container->get(Config::class);
$jwtUrl = $config->get('keycloak.enabled') ? $config->get('jwt.domain') : null;
$jwtUrl = $config->get('jwt.domain');
if (!$token->isAllowedOnSearchApi($jwtUrl)) {
return (new NotAllowedToUseSapi())->toResponse();
}
Expand Down

0 comments on commit be48e2a

Please sign in to comment.