nuxt-modules / turnstile

đŸ”Ĩ Cloudflare Turnstile integration for Nuxt
https://cloudflare.com/products/turnstile
MIT License
217 stars 17 forks source link

Turnstile non-interactive / invisible rendering #196

Closed DerSimeon closed 1 year ago

DerSimeon commented 1 year ago

🆒 Your use case

I would like to be able to use the invisible turnstile, which cloudflare offers.

🆕 The solution you'd like

As per their docs here : https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/#appearance-modes & and here: https://developers.cloudflare.com/turnstile/reference/widget-types/#invisible and also as per the turnstile configuration on the cloudflare dashboard, it is possible to make the rendering non-interactive or invisible. As of right now nuxt-modules/turnstile is missing this option which forces me to have the big cloudflare widget on my page.

🔍 Alternatives you've considered

No response

ℹī¸ Additional info

No response

dargmuesli commented 1 year ago

cc @PatrickMi, sounds familiar to our requirements

PatrickMi commented 1 year ago

I have no problem setting the widget to invisible in the cloudflare dashboard. The widget responses instantly. @DerSimeon do you use the Turnstile Component as shown in the example or do you have a custom setting?

dargmuesli commented 1 year ago

True, it does work for me by simply changing the option selected in the cloudflare dashboard. Closing this for now, but this issue can be reopened if necessary!