OAuth2 authorize - Error 403 - Blocked by the WAF firewall

Hi,

I’m currently looking to starth the OAuth2 workflow, so I simply follow the documentation I have found here: Integrate Binance Login with your web application | Binance Open Platform

So, I send a request like this:

https://accounts.binance.com/en/oauth/authorize?client_id=MYCLIENTID&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth2_callback%2Findex.html&response_type=code&scope=user%3AopenId

And it failed because I got a message “Error 403 Forbidden - This request is blocked.”
So, I have do some test and changed the redirect_uri. The problem is that I use localhost !

But I’m using OAuth with both a web and a desktop application, so for:

  • web application is debug mode, I use localhost
  • desktop application should go back to my app, not to an url

I’m searching for a solution, so, if someone can help please ?

PS: currently, I’m unable to log on !

Hey,
Just to confirm, have you registered and been granted OAuth development access? According to the documentation, Binance Login (OAuth 2.0) is exclusively available to close ecosystem partners.

If so, I would suggest you to contact customer support.

1 Like