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

raystack / frontier / 27009627415
43%
main: 43%

Build:
Build:
LAST BUILD BRANCH: fix/invitation-relation-cleanup
DEFAULT BRANCH: main
Ran 05 Jun 2026 10:32AM UTC
Jobs 1
Files 276
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

05 Jun 2026 10:26AM UTC coverage: 43.406% (+0.2%) from 43.221%
27009627415

Pull #1677

github

AmanGIT07
fix(auth): require Bearer/Basic scheme and route exclusively

The Authorization header parser used strings.TrimPrefix, which is a no-op
when the prefix is absent. As a result a bare PAT (no scheme) was treated
as a token, a bare base64 credential was treated as a secret, and every
Bearer header also leaked into the secret slot because both blocks ran
unconditionally. Scheme matching was also case-sensitive, breaking
RFC 7235.

Replace the parser with a small helper that requires the scheme, matches
it case-insensitively via strings.EqualFold, and routes Bearer to
UserTokenGatewayKey and Basic to UserSecretGatewayKey — never both.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #1677: fix(auth): require Bearer/Basic scheme and route exclusively

23 of 23 new or added lines in 1 file covered. (100.0%)

16510 of 38036 relevant lines covered (43.41%)

12.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27009627415.1 05 Jun 2026 10:32AM UTC 276
43.41
GitHub Action Run
Source Files on build 27009627415
  • Tree
  • List 276
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1677
  • PR Base - main (#27003374844)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc