Getting OAuth Error error="invalid_client", error_description="Bad client credentials"

I am getting the following error AFTER providing permission through OAuth2 to my account:

OAuth Error
error=“invalid_client”, error_description=“Bad client credentials”

Following the documentation at this link:

https://developers.binance.com/docs/binance-login/web-integration.html

I have formed the following url for the user to navigate to after clicking a button on my site:

https://accounts.binance.com/en/oauth/authorize?response_type=code&client_id=MY_CLIENT_ID&redirect_uri=https%3A%2F%2Flocalhost%3A3000&state=RANDOM_STATE_STRING&scope=user:email,user:address

I can’t understand what I am doing wrong here. Can anyone please advise?

Thanks

OAUTH is only available for Binance Partners; Check with CS to see if you’re qualified;
Reminder - it’s not used for trading

So, OAuth cannot be used for Binance Login from another application/website? How to accomplish this scenario then?

1 Like