Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reCAPTCHA Mixin in Django-Rest-FrameWork for Serializer Validation #17

Open
ARYAN-NIKNEZHAD opened this issue Jul 27, 2024 · 0 comments
Labels
demand request a new feature

Comments

@ARYAN-NIKNEZHAD
Copy link
Contributor

Description:

I would like to report the absence of a built-in reCAPTCHA mixin for Serializer validation in Django. Implementing reCAPTCHA is essential for preventing automated abuse and spam in web applications, and having a native mixin would streamline this process significantly for Django developers.

Expected Behavior:

Django should include a mixin or a similar built-in utility that allows developers to seamlessly integrate reCAPTCHA with serializer in DRF. This mixin would:

  1. Automatically render the reCAPTCHA widget in serializers without requiring additional manual configuration.
  2. Handle the reCAPTCHA verification process by sending the response token to Google's reCAPTCHA API and processing the result.
  3. Manage error messages related to reCAPTCHA failures and provide clear feedback to users.
  4. Support both reCAPTCHA v2 and v3, allowing developers to choose the version that best suits their needs.
@sepehr-akbarzadeh sepehr-akbarzadeh added the demand request a new feature label Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demand request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants