You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, and thank you for maintaining this awesome library! I’d like to request an enhancement to make it easier to integrate react-turnstile with Supabase Edge Functions for handling Cloudflare Turnstile validation.
Background
Supabase provides an example Edge Function to handle Cloudflare Turnstile. However, it’s not immediately clear how to make react-turnstile rely on this Edge Function for verification. Adding documentation or a utility to streamline this integration would significantly improve developer experience.
Feature Request
Documentation Enhancement
Provide a step-by-step guide in the README or wiki explaining how to:
Integrate the react-turnstile component with the Supabase Edge Function.
Call the Supabase Edge Function to validate the Turnstile token on the server-side.
Optional Utility or Preset
Add a configuration or utility within react-turnstile that simplifies posting the token directly to a Supabase Edge Function endpoint for validation.
Use Case
This feature will help developers:
Use react-turnstile seamlessly in applications that use Supabase.
Reduce boilerplate setup for integrating Turnstile with Edge Functions.
Additional Info
No response
The text was updated successfully, but these errors were encountered:
Extending the docs would be a nice addition! As I'm not a Supabase user, it's better if someone with the experience connecting those add the docs. Feel free to update the docs from here. You probably may need to check the docs of docs.page
Regarding the utility/preset, I don't like that much adding something that specific. I prefer to keep the library as much generic as possible.
Bug Report Checklist
main
branch of the repository.Overview
Hi, and thank you for maintaining this awesome library! I’d like to request an enhancement to make it easier to integrate react-turnstile with Supabase Edge Functions for handling Cloudflare Turnstile validation.
Background
Supabase provides an example Edge Function to handle Cloudflare Turnstile. However, it’s not immediately clear how to make react-turnstile rely on this Edge Function for verification. Adding documentation or a utility to streamline this integration would significantly improve developer experience.
Feature Request
Documentation Enhancement
Provide a step-by-step guide in the README or wiki explaining how to:
Integrate the react-turnstile component with the Supabase Edge Function.
Call the Supabase Edge Function to validate the Turnstile token on the server-side.
Optional Utility or Preset
Add a configuration or utility within react-turnstile that simplifies posting the token directly to a Supabase Edge Function endpoint for validation.
Use Case
This feature will help developers:
Use react-turnstile seamlessly in applications that use Supabase.
Reduce boilerplate setup for integrating Turnstile with Edge Functions.
Additional Info
No response
The text was updated successfully, but these errors were encountered: