Skip to content

Commit

Permalink
fix iss claims for seat 5
Browse files Browse the repository at this point in the history
  • Loading branch information
recursivetree committed Nov 2, 2023
1 parent 3d2b777 commit df7a85e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Checker/EsiTokenValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private function getJWTClaimsPolicy(string $client_id): ClaimCheckerManager
{
return new ClaimCheckerManager([
new IssuerChecker([
Configuration::getInstance()->sso_host,
sprintf('%s://%s', Configuration::getInstance()->sso_scheme,Configuration::getInstance()->sso_host),
]),
new ExpirationTimeChecker(),
new AudienceChecker('EVE Online'),
Expand Down
2 changes: 1 addition & 1 deletion tests/Fetchers/FetcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ private function getJwsToken(JWK $jwk): string
'name' => 'Warlof Tutsimo',
'owner' => 'svnSjVa1uGYyp/ZL3mfkIwkJYzQ=',
'exp' => $time + 3600,
'iss' => 'login.eveonline.com',
'iss' => 'https://login.eveonline.com',
]);

$builder = new JWSBuilder($manager);
Expand Down

0 comments on commit df7a85e

Please sign in to comment.