Skip to content

added docs for RWK + core for captcha protection#589

Open
ethankonk wants to merge 1 commit intomainfrom
ethan/captcha-protection
Open

added docs for RWK + core for captcha protection#589
ethankonk wants to merge 1 commit intomainfrom
ethan/captcha-protection

Conversation

@ethankonk
Copy link
Contributor

No description provided.

Copy link
Member

@MasterHW MasterHW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the TODO sdk versions filled happy to approve

There are two ways to use captcha with the Embedded Wallet Kit:

1. **Using the built-in Auth component** — captcha is handled automatically, no additional code required.
2. **Building a custom auth UI** — you'll need to integrate Turnstile components yourself in the right places.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets be more descriptive

```tsx
const { config } = useTurnkey();

const isCaptchaEnabled = !!config?.turnstileSiteKey;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rare double negative, is this correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants