thunder
thunder copied to clipboard
Add option to request CAPTCHA on user creation
Describe the problem that this feature would solve
One of the standard ways to prevent bot signups is to require the end user to answer a CAPTCHA sent from the server. Thunder does not currently have this functionality.
Describe the solution you'd like
There should be a configurable option to enable CAPTCHA on POST /users. Ideally, when enabled, the flow would look like:
- Client application sends a
POSTrequest with the user data - The server responds with an appropriate error code asking the client to re-try with a solution to the given CAPTCHA challenge
- The client displays the CAPTCHA challenge to the user, they answer
- The client retries the request with the answer to the CAPTCHA
Additional context
I have never worked with CAPTCHA before, so I may not know all of the limitations or how the protocol should actually work.