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

markitosgv / JWTRefreshTokenBundle / 41349496013
100%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2026 08:58PM UTC
Jobs 1
Files 71
Run time 1min
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

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

Jobs
ID Job ID Ran Files Coverage
1 41349496013.1 01 Nov 2026 08:58PM UTC 71
99.95
GitHub Action Run
Source Files on build 41349496013
  • Tree
  • List 71
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41349496013
  • 6697ebf8 on github
  • Prev Build on v3.1.0 (#41348092731)
  • Delete
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