Skip to content

Conversation

@zpg6
Copy link
Owner

@zpg6 zpg6 commented Oct 23, 2025

Closes #41.

TTL for Cloudflare KV values must be >=60sec. A recent better-auth update uses default TTL values that are out of range, so this will default to a min of 60sec and give a warning if out of range.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 23, 2025

Open in StackBlitz

npm i https://pkg.pr.new/zpg6/better-auth-cloudflare@42

commit: c60f21f

@zpg6 zpg6 merged commit 1d484e9 into main Oct 27, 2025
5 checks passed
@zpg6 zpg6 deleted the fix/ttl-min branch October 27, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

better-auth default rateLimit config unusable with Cloudflare KV

2 participants