[PR #3995] [CLOSED] feat(captcha): add support for Yandex SmartCaptcha #30727

Closed
opened 2026-04-17 21:45:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: main


📝 Commits (2)

  • 72a0998 feat(captcha): add support for Yandex SmartCaptcha
  • 7b02471 Merge branch 'main' into main

📊 Changes

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

View changed files

📝 docs/content/docs/plugins/captcha.mdx (+3 -1)
📝 packages/better-auth/src/plugins/captcha/captcha.test.ts (+68 -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 users to choose it as a provider for bot protection.

  • New Features
  • Implemented handler for validating Yandex SmartCaptcha tokens.
  • Updated documentation with setup instructions and links.
  • Added tests for SmartCaptcha validation scenarios.

🔄 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/3995 **Author:** [@MagicFun1241](https://github.com/MagicFun1241) **Created:** 8/14/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`72a0998`](https://github.com/better-auth/better-auth/commit/72a09983b0a243503683bfbc0fc5d0fe1a4e7194) feat(captcha): add support for Yandex SmartCaptcha - [`7b02471`](https://github.com/better-auth/better-auth/commit/7b0247198683248f2559b1f66f6d5e3fd1899f4f) Merge branch 'main' into main ### 📊 Changes **7 files changed** (+132 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` (+68 -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 users to choose it as a provider for bot protection. - **New Features** - Implemented handler for validating Yandex SmartCaptcha tokens. - Updated documentation with setup instructions and links. - Added tests for SmartCaptcha validation scenarios. <!-- 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-17 21:45:16 -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#30727