React SPA + Axios with CF Challenge

Good we have a react app in which we use axios. We have a specific endpoint which gives us a 403 error with the following header "cf-mitigated challenge" along with a cors error. In our app the cors works correctly. Apart from that we have been investing in Turnstile but have not been able to configure it with axios. Does anyone have any idea how to do it? or any repo? Thanks.
No description
No description
2 Replies
NastykSwED
NastykSwED6mo ago
Our endpoint uses the cf images api.
conqr
conqr6mo ago
Most likely your app returns CORS headers, but the managed challenge page doesn't return them If you're fine with your images endpoint being a bit vulnerable You can disable bot fight / bot detection on the specific subdomain / route using a page rule or configuration rule
Want results from more Discord servers?
Add your server