Merge pull request #1031 from Sephster/remove-jti-from-header

Remove JTI Claim From JWT Header
This commit is contained in:
Andrew Millington 2019-07-13 17:50:20 +01:00 committed by GitHub
commit 4b1c9ed503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Removed
- `enableCodeExchangeProof` flag (PR #938)
- Support for PHP 7.0 (PR #1014)
- Remove JTI claim from JWT header (PR #)
## [7.4.0] - released 2019-05-05

View File

@ -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())