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

supabase / auth / 17928243696
69%

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2025 09:03PM UTC
Jobs 1
Files 164
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

22 Sep 2025 08:55PM UTC coverage: 67.886% (+0.06%) from 67.83%
17928243696

push

github

web-flow
fix(oauth2): switch to Origin header for request validation (#2174)

## Summary
Replace `Referer` header validation with `Origin` header in
`validateRequestOrigin` function. Referer was unintended at the
beginning. Using `Origin` header as it's automatically set by browsers
for cross-origin requests. This is a very basic attempt to prevent cross
domain malicious calls.

Key changes:
- Check `Origin` header instead of `Referer` header
- Allow empty `Origin` header (for backend/mobile app initiated
requests)
- Add comprehensive test coverage for new validation behavior

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

12954 of 19082 relevant lines covered (67.89%)

65.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17928243696.1 22 Sep 2025 09:03PM UTC 164
67.89
GitHub Action Run
Source Files on build 17928243696
  • Tree
  • List 164
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 42bc9ab7 on github
  • Prev Build on master (#17918863262)
  • Next Build on master (#17928296836)
  • 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

© 2025 Coveralls, Inc