• 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: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 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
  • master
  • 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
41349332828 fix/single-use-rotation-race Merge 05081296b into 8b08cf8e0 Pull #437 01 Nov 2026 08:56PM UTC web-flow github
99.95
41348187264 v2.3.0 docs: write the 2.3.0 changelog push 01 Nov 2026 08:42PM UTC shakaran github
97.39
41348185601 2.2.x docs: write the 2.3.0 changelog push 01 Nov 2026 08:42PM UTC shakaran github
97.39
41348090243 master docs: write the 3.1.0 changelog push 01 Nov 2026 08:41PM UTC shakaran github
99.95
41348092731 v3.1.0 docs: write the 3.1.0 changelog push 01 Nov 2026 08:41PM UTC shakaran github
99.95
41347858085 2.2.x feat: clear expired tokens without reading them first Backport of the 3.1.0 feature. revokeAllInvalid() and its batched form hydrate every token they delete, so clearing a backlog costs one object per dead row; ExpiredRefreshTokenManagerInterface... push 01 Nov 2026 08:38PM UTC shakaran github
97.39
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
41195499379 2.2.x ci: test only the symfony minors composer will install 7.0, 7.2 and 7.3 are end of life and every release on them is affected by a published advisory with nothing patched to move to, so composer refuses the install outright and the job fails befo... push 31 Oct 2026 11:07AM UTC shakaran github
97.26
41195130624 2.2.x 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
97.26
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