Disable captcha for Oauth (use only for legacy email password) #953

Closed
opened 2026-03-13 08:11:50 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @lohnsonok on GitHub (Mar 31, 2025).

Is this suited for github?

  • Yes, this is suited for github

Sometime we need to only want to use captcha security check for email password and not for all (including oauth).

Actually is required for Oauth too

Describe the solution you'd like

Ablility to disable for Oauth providers

Describe alternatives you've considered

No alternative

Additional context

No response

Originally created by @lohnsonok on GitHub (Mar 31, 2025). ### Is this suited for github? - [ ] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Sometime we need to only want to use captcha security check for email password and not for all (including oauth). Actually is required for Oauth too ### Describe the solution you'd like Ablility to disable for Oauth providers ### Describe alternatives you've considered No alternative ### Additional context _No response_
Author
Owner

@dosubot[bot] commented on GitHub (Jun 30, 2025):

Hi, @lohnsonok. I'm Dosu, and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Feature request to disable captcha for OAuth provider logins.
  • Current system requires captcha for both OAuth and email-password logins.
  • No comments or alternative solutions have been provided.

Next Steps:

  • Is this issue still relevant to the latest version of the better-auth repository? If so, please comment to keep the discussion open.
  • Otherwise, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Jun 30, 2025): Hi, @lohnsonok. I'm [Dosu](https://dosu.dev), and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - Feature request to disable captcha for OAuth provider logins. - Current system requires captcha for both OAuth and email-password logins. - No comments or alternative solutions have been provided. **Next Steps:** - Is this issue still relevant to the latest version of the better-auth repository? If so, please comment to keep the discussion open. - Otherwise, this issue will be automatically closed in 7 days. Thank you for your understanding and contribution!
Author
Owner

@ping-maxwell commented on GitHub (Jul 2, 2025):

You can pass an endpoints option to the captcha plugin to configure it.

@ping-maxwell commented on GitHub (Jul 2, 2025): You can pass an `endpoints` option to the captcha plugin to configure it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#953