[PR #4028] [CLOSED] feat(captcha): add support for Yandex SmartCaptcha provider #13391

Closed
opened 2026-04-13 08:54:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4028
Author: @MagicFun1241
Created: 8/15/2025
Status: Closed

Base: canaryHead: canary


📝 Commits (4)

  • d899fa4 feat(captcha): add support for Yandex SmartCaptcha provider and related tests
  • 2227cac Merge branch 'canary' into canary
  • 5eea48c Merge branch 'canary' into canary
  • 8f65ac0 fix(captcha): yandex-captcha linting

📊 Changes

7 files changed (+133 additions, -2 deletions)

View changed files

📝 docs/content/docs/plugins/captcha.mdx (+3 -1)
📝 packages/better-auth/src/plugins/captcha/captcha.test.ts (+69 -0)
📝 packages/better-auth/src/plugins/captcha/constants.ts (+3 -0)
📝 packages/better-auth/src/plugins/captcha/index.ts (+4 -0)
📝 packages/better-auth/src/plugins/captcha/types.ts (+6 -1)
📝 packages/better-auth/src/plugins/captcha/verify-handlers/index.ts (+1 -0)
packages/better-auth/src/plugins/captcha/verify-handlers/yandex-smart-captcha.ts (+47 -0)

📄 Description

What changed:


Summary by cubic

Added support for Yandex SmartCaptcha to the captcha plugin, allowing bot protection using this provider.

  • New Features
  • Implemented Yandex SmartCaptcha backend handler and validation flow.
  • Updated documentation with setup instructions and client resources.
  • Added tests for SmartCaptcha verification cases.

🔄 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/4028 **Author:** [@MagicFun1241](https://github.com/MagicFun1241) **Created:** 8/15/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (4) - [`d899fa4`](https://github.com/better-auth/better-auth/commit/d899fa41232607e19fb04acc6f4c76e3f880922d) feat(captcha): add support for Yandex SmartCaptcha provider and related tests - [`2227cac`](https://github.com/better-auth/better-auth/commit/2227caceaa9e277ad22ea1a34af0aaecd4c87c3d) Merge branch 'canary' into canary - [`5eea48c`](https://github.com/better-auth/better-auth/commit/5eea48c05212ca5ad58fad91cb3210692358e55d) Merge branch 'canary' into canary - [`8f65ac0`](https://github.com/better-auth/better-auth/commit/8f65ac0b7b3d17c376ae8e8608391d51264c299b) fix(captcha): yandex-captcha linting ### 📊 Changes **7 files changed** (+133 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/captcha.mdx` (+3 -1) 📝 `packages/better-auth/src/plugins/captcha/captcha.test.ts` (+69 -0) 📝 `packages/better-auth/src/plugins/captcha/constants.ts` (+3 -0) 📝 `packages/better-auth/src/plugins/captcha/index.ts` (+4 -0) 📝 `packages/better-auth/src/plugins/captcha/types.ts` (+6 -1) 📝 `packages/better-auth/src/plugins/captcha/verify-handlers/index.ts` (+1 -0) ➕ `packages/better-auth/src/plugins/captcha/verify-handlers/yandex-smart-captcha.ts` (+47 -0) </details> ### 📄 Description What changed: - Added [Yandex SmartCaptcha](https://yandex.cloud/docs/smartcaptcha/) handler - Added links in documentation <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added support for Yandex SmartCaptcha to the captcha plugin, allowing bot protection using this provider. - **New Features** - Implemented Yandex SmartCaptcha backend handler and validation flow. - Updated documentation with setup instructions and client resources. - Added tests for SmartCaptcha verification cases. <!-- End of auto-generated description by cubic. --> --- <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-04-13 08:54:14 -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#13391