Closed joshtblack closed 1 year ago
Hi there, is it possible to explicitly render Turnstile so I can get a token via lets say clicking a login button rather than getting a token on component render instead? Especially as I am using the invisible widget type.
Thank you!
Hey! Sure, you can interact with the widget using a ref to get the token, as shown here.
ref
Also check out this demo using the invisible widget type.
Great, thanks!
Hi there, is it possible to explicitly render Turnstile so I can get a token via lets say clicking a login button rather than getting a token on component render instead? Especially as I am using the invisible widget type.
Thank you!