stack/examples/demo/src/app
Mantra e59a70783e
Turnstile integration for fraud protection (#1239)
Enhances sign-up process with Turnstile integration for fraud
protection. Builds on top of fraud-protection-temp-emails.

Made with [Cursor](https://cursor.com)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Cloudflare Turnstile bot-protection across signup/sign-in flows
(including SDK JSON mode).
  * Email deliverability checks via Emailable.
* Sign-up risk scoring with persisted risk metrics and country code
tracking.
* UI: country-code selector, risk-score editing in user details, users
list refresh button, and Turnstile signup demo pages.

* **Bug Fixes**
  * Use actual sign-up timestamp for reporting/metrics.

* **Documentation**
* Expanded knowledge base on Turnstile, risk scoring, and env
configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
Co-authored-by: BilalG1 <bg2002@gmail.com>
Co-authored-by: Armaan Jain <84474476+Developing-Gamer@users.noreply.github.com>
Co-authored-by: nams1570 <amanganapathy@gmail.com>
2026-03-20 21:26:45 +00:00
..
anonymous-test Improved anonymous users (#857) 2025-08-24 11:36:01 -07:00
apikey-demo Api Keys (#590) 2025-04-04 13:03:10 -07:00
connected-accounts More connected accounts (#1165) 2026-02-18 15:19:35 -08:00
facebook-business-example added oauth token table (#160) 2024-07-30 19:49:36 +02:00
fullpage-demos Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
gmail project owner team (#835) 2025-08-19 11:42:11 -07:00
handler/[...stack] Next.js 15 support (#315) 2024-11-08 03:12:31 +01:00
protected Require newline at the end of each file 2024-10-13 13:06:38 -07:00
settings Fixed custom account setting page routing problems (#305) 2024-10-18 20:28:29 +02:00
spotify-example Fix lint 2025-08-12 18:50:53 -07:00
spotify-server object-curly-spacing rule 2024-12-23 19:37:05 -08:00
test Source of Truth (#660) 2025-07-11 17:59:03 -07:00
token-staleness Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
tokens-demo small fixes 2025-12-12 10:43:39 -08:00
turnstile-signup Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
favicon.ico Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
global.css Reworked Stack Auth demo (#624) 2025-04-15 02:03:07 +00:00
layout.tsx Revert "Demo floating window" (#692) 2025-05-19 17:56:56 -07:00
loading.tsx Anonymous users (#566) 2025-03-20 18:24:19 -07:00
not-found.tsx Require newline at the end of each file 2024-10-13 13:06:38 -07:00
page-client.tsx Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
page.tsx Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00