
The new Google ReCaptcha implementation for Flask without Flask-WTF.
Flask-ReCaptcha is a powerful tool designed for Flask applications, enabling seamless integration of Google's ReCaptcha to enhance security. This package provides users with a simple yet effective way to protect forms from spam and abuse without relying on Flask-WTF. Its straightforward implementation allows developers to focus on building their applications while effortlessly ensuring that their forms are securely protected.
With Flask-ReCaptcha, developers can easily implement the ReCaptcha functionality in their projects, providing an intuitive experience for users while maintaining robust security. The integration not only supports the necessary configurations for public and private keys but also offers customization options to fit the theme and functionality preferences of the application.
Easy Integration: Simply include {{ recaptcha }} in your templates, and the necessary HTML will be generated automatically.
Configurable Options: Easily set options like RECAPTCHA_ENABLED, RECAPTCHA_SITE_KEY, and RECAPTCHA_SECRET_KEY through the standard Flask config API.
Custom Themes: Choose between 'light' or 'dark' themes using the RECAPTCHA_THEME option to match your application's design.
Multiple ReCaptcha Types: Support for both 'image' and 'audio' types allows flexibility for users with different accessibility needs.
Language Support: Customize the language of the ReCaptcha texts using the RECAPTCHA_LANGUAGE option, accommodating a global audience.
Flexible Size Options: Adjust the ReCaptcha size with RECAPTCHA_SIZE, allowing selection between 'normal' and 'compact' for varying design constraints.
Tabindex Support: Improve user navigation by configuring the RECAPTCHA_TABINDEX, making it easier for users who rely on keyboard navigation.
Efficient Verification: The reCaptcha.verify() method provides a simple boolean return to confirm successful captcha verification, streamlining workflow processes.
