Skip to content

Commit c640c4d

Browse files
authored
Fix issue with session token for extensions (#426)
1 parent 2dbbbef commit c640c4d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.idea/laravel-shopify.iml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Objects/Values/SessionToken.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ protected function decodeToken(): void
188188
$body['jti'],
189189
... $this->tokenSource === SessionTokenSource::APP
190190
? [
191-
$body['iss'],
192-
$body['sub'],
191+
$body['iss'] ?? '',
192+
$body['sub'] ?? '',
193193
$body['sid'],
194194
]
195195
: [],

0 commit comments

Comments
 (0)