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

supabase / auth / 14384966916
69%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2025 04:04PM UTC
Jobs 1
Files 133
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

10 Apr 2025 03:57PM UTC coverage: 68.089% (-0.002%) from 68.091%
14384966916

push

github

web-flow
feat: separate web3 rate limits from other `/token?grant_type=...` (#1985)

Sign in with Web3 can be very prone to abuse. This is because all it
takes for the `/token?grant_type=web3` endpoint to be abused is the
generation of signed messages by a private key.

For this reason a new rate limit config is provided
`GOTRUE_RATE_LIMIT_WEB3` which limits the number of such calls per IP
address.

To achieve this, the rate limit enforcement on the `/token` API is moved
inside in the `Token` handler. This provides a future basis for
separating out the rate limiters for Sign in with Password and ID token,
as well as rate limiters for PKCE.

39 of 50 new or added lines in 5 files covered. (78.0%)

3 existing lines in 2 files now uncovered.

10532 of 15468 relevant lines covered (68.09%)

65.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
70.6
0.02% internal/api/token.go
10
83.21
-3.13% internal/api/middleware.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.21
-3.13% internal/api/middleware.go
2
70.6
0.02% internal/api/token.go
Jobs
ID Job ID Ran Files Coverage
1 14384966916.1 10 Apr 2025 04:04PM UTC 133
68.09
GitHub Action Run
Source Files on build 14384966916
  • Tree
  • List 133
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8b233820 on github
  • Prev Build on master (#14239048510)
  • Next Build on master (#14442240917)
  • 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