diff --git a/src/Objects/Values/SessionToken.php b/src/Objects/Values/SessionToken.php index dbc6b6d4..58775dfd 100644 --- a/src/Objects/Values/SessionToken.php +++ b/src/Objects/Values/SessionToken.php @@ -251,7 +251,7 @@ protected function verifySignature(): void protected function verifyValidity(): void { Assert::that($this->iss)->contains($this->dest, self::EXCEPTION_INVALID); - Assert::that($this->aud)->eq(Util::getShopifyConfig('api_key'), self::EXCEPTION_INVALID); + Assert::that($this->aud)->eq(Util::getShopifyConfig('api_key', $this->getShopDomain()), self::EXCEPTION_INVALID); } /**