Paypal OAuth login returns (invalid client_ID or redirect_uri)

3.7k views Asked by At

I am trying to implement Paypal Oauth login in my website and keep on getting this error:

We're sorry about that

Looks like this action is not supported. Please return and report this error so that we can support it in the future. (invalid client_ID or redirect_uri)

This is sandbox environment and the redirect_uri I have tried with are:

  1. no url
  2. http://127.0.0.1:5000/signin-paypal
  3. http://localhost:5000/signin-paypal

I have double, tripple check the client_id and client_secret, which match with application setup on Paypal developer desktop.

Absolutely got no clue, why it is failing.

Note: few other providers I have used (google, facebook, linkedin, github amazon) are working perfectly fine with same code.

1

There are 1 answers

0
Michail Strokin On

You should make sure you are using exact same Redirect URL as in app settings as well, not just client ID/secret

P.S. Sorry for necroposting