Jump to content


“Client Validation Error: Invalid Scope” When Authorizing Paypal User

api oauth oauth2

  • Please log in to reply
No replies to this topic

#1 VVol80



  • Members
  • Pip
  • 4 posts

Posted 04 August 2015 - 08:18 PM

We are attempting to implement a standard PayPal OAuth2 "permit our application to access your account" element in our app. The URL we are utilizing is:




When providing a link to this URL on our site, first, as per the documentation, we URL encode the client ID and scope:


ppal_encoded_client_id = URI.escape(OUR_PPAL_CLIENT_ID)
ppal_encoded_scope = URI.escape('openid profile email')


...then, we provide the link to the URL like this:



We have implemented this successfully with various other API providers, but with PayPal, no matter what params we put into the ppal_encoded_scope, we receive the following error:


"Client Validation Error: Invalid scope."


Also, we have edited our PayPal application to support the identity service (Our application > "Log In with PayPal" > Advanced > Check every box).


Has anyone experienced this? We have even tried manually setting the scope to scope='openid+profile+email', nothing works. 


Online, we have found other instances of people experiencing this issue, but so far no solution we have found is working. We are following the documentation at https://developer.pa...ity/attributes/


What are we doing wrong?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users