• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

markitosgv / JWTRefreshTokenBundle
100%

Build:
DEFAULT BRANCH: master
Repo Added 03 Aug 2026 10:32PM UTC
Token sk1QcmV9ykyPahHRW2qtdK107l5vBApN7 regen
Build 124 Last
Files 71
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • 2.2.x
  • LouisGarret/fix-service-param-references
  • dbal
  • dependabot/composer/api-platform/openapi-tw-5.0
  • feat/delete-by-user
  • feat/revoke-all-expired
  • fix/single-use-rotation-race
  • v2.1.0
  • v2.2.0
  • v2.2.1
  • v2.2.2
  • v2.3.0
  • v3.0.0
  • v3.1.0

01 Nov 2026 08:57PM UTC coverage: 99.947%. Remained the same
41349496013

push

github

web-flow
fix: refuse the second of two concurrent single-use refreshes (#437)

With single_use, two refresh requests presenting the same token at the same
time could both be given a new pair, which is the stolen-token case rotation
exists to end. The success listener ignored what delete() reported, and with
hash_tokens it looked the token up a second time, so a request whose token had
just been spent by the other was handed a replacement in a chain of its own,
out of reach of reuse detection and max_session_lifetime.

A token is now spent only when the storage reports deleting its row. The
request that loses is refused like a replayed token, with nothing issued. The
listener uses the token the authenticator loaded, recognised by the value
presented, which PostRefreshTokenAuthenticationToken::getPresentedRefreshToken()
carries for the request and does not serialize.

Doctrine\RefreshTokenManager::delete() also told both of two concurrent callers
they had won when the repository does not implement
DeleteRefreshTokenRepositoryInterface: it read the token back and reported a
deleted row. It asks the database what it deleted instead.

37 of 37 new or added lines in 4 files covered. (100.0%)

1895 of 1896 relevant lines covered (99.95%)

27.57 hits per line

Relevant lines Covered
Build:
Build:
1896 RELEVANT LINES 1895 COVERED LINES
27.57 HITS PER LINE
Source Files on master
  • Tree
  • List 71
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41349496013 master fix: refuse the second of two concurrent single-use refreshes (#437) With single_use, two refresh requests presenting the same token at the same time could both be given a new pair, which is the stolen-token case rotation exists to end. The succe... push 01 Nov 2026 08:58PM UTC web-flow github
99.95
41348090243 master docs: write the 3.1.0 changelog push 01 Nov 2026 08:41PM UTC shakaran github
99.95
41347488069 master feat: clear expired tokens without reading them first revokeAllInvalid() and its batched form hydrate every token they delete, because they hand them back and the object manager wants the objects to remove them. Clearing a backlog that way costs ... push 01 Nov 2026 08:34PM UTC shakaran github
99.95
41195106896 master fix: refuse a stored hash offered as the refresh token With hash_tokens on, the value in the table was accepted as the token. The lookup of the hash of what was presented cannot match (that would be the hash of a hash), but the fallback that keep... push 31 Oct 2026 11:02AM UTC shakaran github
99.95
41076924991 master Merge pull request #436 from LouisGarret/LouisGarret/fix-service-param-references fix: resolve configured service ids instead of %param% placeholders push 30 Oct 2026 03:02PM UTC web-flow github
99.95
41071114274 master build: test against api-platform/openapi 5.0 as well as 4.x Dependabot asked for ^5.0 in #435, which would have left 4.x untested while the bundle still documents the refresh token for applications on it. The union keeps both: --prefer-stable ins... push 30 Oct 2026 02:22PM UTC shakaran github
99.95
41069024285 master build: raise the dev dependency floors the advisories point at The four advisories composer reports only appear with --prefer-lowest, which is the one leg that installs the floors as written. All three packages are require-dev, so nothing here re... push 30 Oct 2026 02:08PM UTC shakaran github
99.95
41068707044 master fix: clear the code scanning alerts the newer analysers raised Twenty alerts had come back, all from dependency drift rather than from any change here. Three were ours: - capExpiryAt() claimed @psalm-external-mutation-free while writing to the ... push 30 Oct 2026 02:06PM UTC shakaran github
99.95
41061436333 master build: require Symfony 8.1, dropping 8.0 Symfony 8.0 is not installable any more. Every symfony/http-foundation 8.0.x is affected by CVE-2026-108082 (ReDoS in HeaderUtils::split via the Cache-Control header) and the fix landed on 8.1.7 with no re... push 30 Oct 2026 01:14PM UTC shakaran github
99.95
41060829104 master fix: key spent refresh tokens on the value the client sent Closes #433. With hash_tokens on, the model read back from storage carries the hash, so the spend was recorded under sha256(hash) while every replay is looked up by sha256(raw). The two ... push 30 Oct 2026 01:09PM UTC shakaran github
99.95
See All Builds (123)

Badge your Repo: JWTRefreshTokenBundle

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc