Skip to content

Commit b7d07ef

Browse files
committed
Change accessToken to idToken for more available information without having too much of an impact
1 parent bb58002 commit b7d07ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "coddin-web/oidc-client-laravel-wrapper",
33
"description": "A Laravel wrapper of jumbojett's OpenID Connect Client",
44
"type": "library",
5-
"version": "1.3.2",
5+
"version": "1.3.3",
66
"minimum-stability": "stable",
77
"prefer-stable": true,
88
"require": {

src/Http/Middleware/OpenIDConnectAuthenticated.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function handle(Request $request, \Closure $next): mixed
5858

5959
$openIDClient->authenticate();
6060

61-
$accessToken = $jwtVerifier->parser()->parse($openIDClient->getAccessToken());
61+
$accessToken = $jwtVerifier->parser()->parse($openIDClient->getIdToken());
6262
$this->tokenStorageAdaptor->put(
6363
accessToken: $accessToken,
6464
refreshToken: $openIDClient->getRefreshToken(),

0 commit comments

Comments
 (0)