From f5e910e6ec98cc4a221e677d75614eb6e27ce564 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Sat, 13 Jul 2019 17:51:56 +0100 Subject: [PATCH] Remove jti replication from JWT Header --- src/Entities/Traits/AccessTokenTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entities/Traits/AccessTokenTrait.php b/src/Entities/Traits/AccessTokenTrait.php index e9757264..44276de1 100644 --- a/src/Entities/Traits/AccessTokenTrait.php +++ b/src/Entities/Traits/AccessTokenTrait.php @@ -44,7 +44,7 @@ trait AccessTokenTrait { return (new Builder()) ->setAudience($this->getClient()->getIdentifier()) - ->setId($this->getIdentifier(), true) + ->setId($this->getIdentifier()) ->setIssuedAt(time()) ->setNotBefore(time()) ->setExpiration($this->getExpiryDateTime()->getTimestamp())