Skip to content

Commit

Permalink
OpenIdConnect: require & use v1.2 of juliuspc/openid-connect-php
Browse files Browse the repository at this point in the history
  • Loading branch information
mbunkus committed Feb 19, 2024
1 parent 1e7ba19 commit 88bb925
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

declare(strict_types=1);

use JuliusPC\OpenIDConnectClient;
use JuliusPC\OpenIDConnect;

/**
* Class ilAuthProviderOpenIdConnect
Expand Down Expand Up @@ -63,7 +63,7 @@ public function handleLogout(): void
ILIAS_HTTP_PATH . '/logout.php',
ILIAS_HTTP_PATH . '/' . ilStartUpGUI::logoutUrl()
);
} catch (\Jumbojett\OpenIDConnectClientException $e) {
} catch (\JuliusPC\OpenIDConnect\Exceptions\ClientException $e) {
$this->logger->warning("Logging out of OIDC provider failed with: " . $e->getMessage());
}

Expand Down Expand Up @@ -172,9 +172,9 @@ private function handleUpdate(ilAuthStatus $status, $user_info): ilAuthStatus
return $status;
}

private function initClient(): OpenIDConnectClient
private function initClient(): \JuliusPC\OpenIDConnect\Client
{
$oidc = new OpenIDConnectClient(
$oidc = new \JuliusPC\OpenIDConnect\Client(
$this->settings->getProvider(),
$this->settings->getClientId(),
$this->settings->getSecret()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"league/flysystem": "^1.0",
"james-heinrich/getid3": "^1.9",
"phpoffice/phpspreadsheet": "^1.18.0",
"juliuspc/openid-connect-php": "^1.1",
"juliuspc/openid-connect-php": "^1.2",
"sabre/dav": "^4.1",
"symfony/console" : "^5.0",
"slim/slim": "^3.11",
Expand Down
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88bb925

Please sign in to comment.