Captcha support on SignUp method
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- authentication
Research direction
Start with the SignUp and SignUpWithEmail entry points shown in the stack trace, then inspect SignUpOptions to see how signup request values are represented. The work is complete when callers can provide a captcha token through the SignUp flow and captcha-enabled signup succeeds; add or update coverage for that path.
Written by the indexing model from the issue text.
Description
Feature request
Is your feature request related to a problem? Please describe.
I am developing a custom Sign Up flow for my frontend app that calls backend API to sign up user. At a certain point I call SignUp method from Supabase NuGet package. This works just fine when Captcha is not configured, but when I try to run it with Captcha enabled I get following error:
Supabase.Gotrue.Exceptions.GotrueException: {"code":500,"error_code":"unexpected_failure","msg":"captcha verification process failed","error_id":"99426df994c4441d-WAW"}
at Supabase.Gotrue.Helpers.MakeRequest(HttpMethod method, String url, Object data, Dictionary`2 headers)
at Supabase.Gotrue.Api.SignUpWithEmail(String email, String password, SignUpOptions options)
at Supabase.Gotrue.Client.SignUp(SignUpType type, String identifier, String password, SignUpOptions options)
at App.Services.SupabaseProviderService.CreateUser(String email, String password, Guid internalUserId, String captchaToken, CancellationToken cancellationToken)
I don't see any option of setting captchaToken like you can with the frontend library described here: Enable CAPTCHA Protection
Describe the solution you'd like
SignUp method to accept captcha tokens, just like the frontend library does.
Describe alternatives you've considered
I tried calling providing captcha as header Supabase APIs directly, but this completely defeats the purpose of using this package.
Additional context
- Dominant language
- C#
- Stars
- 701
- Forks
- 106
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 45
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supabase/supabase-csharp
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
supabase/supabase-csharp#440 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
supabase/supabase-csharp#437 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
supabase/supabase-csharp#427 ·
-
supabase/supabase-csharp#409 · 1 comment · 1 assignee ·
-
area: realtime bug parity
supabase/supabase-csharp#393 · 1 assignee ·
All issues in supabase/supabase-csharp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100