Skip to content

feat: add preClearanceObtained to the callback event#43

Merged
ghostdevv merged 2 commits intoghostdevv:mainfrom
andriivariational:pre-clearance
Jan 5, 2025
Merged

feat: add preClearanceObtained to the callback event#43
ghostdevv merged 2 commits intoghostdevv:mainfrom
andriivariational:pre-clearance

Conversation

@andriivariational
Copy link
Contributor

@andriivariational andriivariational commented Dec 29, 2024

Info

Added preClearanceObtained property to callback event detail. This will allow integrating Turnstile with the Cloudflare WAF to challenge fetch requests.

See example here

References

https://developers.cloudflare.com/turnstile/concepts/pre-clearance-support/

@ghostdevv ghostdevv changed the title Add pre clearance event detail feat: add preClearanceObtained to the callback event Jan 5, 2025
Copy link
Owner

@ghostdevv ghostdevv left a comment

Choose a reason for hiding this comment

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

thanks!

@ghostdevv ghostdevv merged commit 1a21338 into ghostdevv:main Jan 5, 2025
@ghostdevv
Copy link
Owner

Released in v0.10.0!

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