Getting 403 Forbidden nginx when trying to call external api

Hi, I'm getting a 403 Forbidden nginx error when trying to send a post request to "https://steamcommunity.com/openid/login" This only happens when my application is deployed to pages. If I'm testing locally it works perfeclty fine. I found that it's most likely due to steam blocking cloudflare's requests, so I'm wondering how could I fix this?
No description
2 Replies
Erisa
Erisa11mo ago
If it is actually due to Steam blocking Cloudflare requests, there isn't anything you can do to fix it. Any website owner has the ability to block Cloudflare requests, we provide them with the tools to do so (IPs identifying customer traffic & headers identifying Workers traffic) and we aren't in the business of circumventing the will of website owners. Your best bet would be to contact Steam and ask them if they would be able to make an exception. They would also likely be able to provide information about why you get that issue. Requests sent in local dev are sent from your local machine, so if they were blocking Cloudflare that explains the discrepency
zachery
zacheryOP11mo ago
Ok, thanks for the help!
Want results from more Discord servers?
Add your server