Remove jti replication from JWT Header

This commit is contained in:
Andrew Millington 2019-07-13 17:51:56 +01:00
parent 7f0879b8b4
commit f5e910e6ec
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

@ -44,7 +44,7 @@ trait AccessTokenTrait
{ {
return (new Builder()) return (new Builder())
->setAudience($this->getClient()->getIdentifier()) ->setAudience($this->getClient()->getIdentifier())
->setId($this->getIdentifier(), true) ->setId($this->getIdentifier())
->setIssuedAt(time()) ->setIssuedAt(time())
->setNotBefore(time()) ->setNotBefore(time())
->setExpiration($this->getExpiryDateTime()->getTimestamp()) ->setExpiration($this->getExpiryDateTime()->getTimestamp())