Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Bugfix incorrect api_key in SessionToken function #1001

Merged
merged 1 commit into from
Nov 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Objects/Values/SessionToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down