[PR #3214] [CLOSED] feat: Vercel BotID plugin #4705

Closed
opened 2026-03-13 11:56:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3214
Author: @ping-maxwell
Created: 6/29/2025
Status: Closed

Base: mainHead: feat/botid


📝 Commits (10+)

📊 Changes

13 files changed (+5868 additions, -4134 deletions)

View changed files

📝 docs/components/sidebar-content.tsx (+21 -0)
📝 docs/content/docs/concepts/database.mdx (+5 -30)
📝 docs/content/docs/concepts/typescript.mdx (+1 -4)
docs/content/docs/plugins/botid.mdx (+124 -0)
📝 docs/content/docs/plugins/captcha.mdx (+2 -0)
packages/botid/build.config.ts (+12 -0)
packages/botid/package.json (+52 -0)
packages/botid/src/botid.test.ts (+47 -0)
packages/botid/src/index.ts (+96 -0)
packages/botid/src/utils.ts (+248 -0)
packages/botid/tsconfig.declarations.json (+31 -0)
packages/botid/tsconfig.json (+20 -0)
📝 pnpm-lock.yaml (+5209 -4100)

📄 Description

Adds the new Vercel BotID functionality into a plugin to block endpoints if a bot is detected.
https://vercel.com/docs/botid#get-started-with-botid

Closes https://github.com/better-auth/better-auth/issues/3200

https://github.com/user-attachments/assets/b513475c-265e-4173-a578-8069f0843e86

  • tests
  • Docs

TODO for @Bekacru :

  • Needs to be pnpm published

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/3214 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 6/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/botid` --- ### 📝 Commits (10+) - [`d6c794c`](https://github.com/better-auth/better-auth/commit/d6c794c7cf34e0221eef60831e6a6d91e54c3396) fix(docs): ugly whitespace in example code - [`9bcc736`](https://github.com/better-auth/better-auth/commit/9bcc736367de12f913ba9ec723b0430fa9b7f720) add(docs): Error code reference list - [`4a507d7`](https://github.com/better-auth/better-auth/commit/4a507d76d7e11d1a07138a54a36e8d8a4e5ff47d) Delete error-codes.mdx - [`52c4a63`](https://github.com/better-auth/better-auth/commit/52c4a637990199046ecde59ed82c2ba0564ef21d) revert - [`2d1f74c`](https://github.com/better-auth/better-auth/commit/2d1f74c3fade5bc32443dfab1c67fcb809be6ba4) feat: Vercel BotID plugin - [`173e737`](https://github.com/better-auth/better-auth/commit/173e737dcd5209d571fc19f13909514017fd106c) fix: tsconfig - [`37b8e8f`](https://github.com/better-auth/better-auth/commit/37b8e8ffedbd3e3d1ab6e79a99f71abd4d35cd51) update: move to hooks - [`e5b72c7`](https://github.com/better-auth/better-auth/commit/e5b72c7bdb154dcb009ecb9a793f316c0a98e9ae) add: tests - [`93961e0`](https://github.com/better-auth/better-auth/commit/93961e079e9d11eece0fe2ff7829557309cba7be) WIP: docs - [`24f8f09`](https://github.com/better-auth/better-auth/commit/24f8f09e78d02312a687a16274cef7e4267f8313) update: docs ### 📊 Changes **13 files changed** (+5868 additions, -4134 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/sidebar-content.tsx` (+21 -0) 📝 `docs/content/docs/concepts/database.mdx` (+5 -30) 📝 `docs/content/docs/concepts/typescript.mdx` (+1 -4) ➕ `docs/content/docs/plugins/botid.mdx` (+124 -0) 📝 `docs/content/docs/plugins/captcha.mdx` (+2 -0) ➕ `packages/botid/build.config.ts` (+12 -0) ➕ `packages/botid/package.json` (+52 -0) ➕ `packages/botid/src/botid.test.ts` (+47 -0) ➕ `packages/botid/src/index.ts` (+96 -0) ➕ `packages/botid/src/utils.ts` (+248 -0) ➕ `packages/botid/tsconfig.declarations.json` (+31 -0) ➕ `packages/botid/tsconfig.json` (+20 -0) 📝 `pnpm-lock.yaml` (+5209 -4100) </details> ### 📄 Description Adds the new Vercel BotID functionality into a plugin to block endpoints if a bot is detected. https://vercel.com/docs/botid#get-started-with-botid Closes https://github.com/better-auth/better-auth/issues/3200 https://github.com/user-attachments/assets/b513475c-265e-4173-a578-8069f0843e86 - [x] tests - [x] Docs TODO for @Bekacru : - Needs to be `pnpm publish`ed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:56:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4705