invalid_client
samuelrl
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-27-2017
05:29 PM
Am working with creating a 'Future Payments Server-Side Integration', I already implemt the client-side in the android app and working fine to get the Authorization Code but the problem is when I try to get the refresh token I always get 401. Im following the documentation in this url https://github.com/paypal/PayPal-Android-SDK/blob/master/docs/future_payments_server.md#create-a-pay...
the request is am not sure about the -H Authorization, I put the clientId, I have tested with the secret. but nothing work.
curl 'https://api.paypal.com/v1/oauth2/token' \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Authorization: Basic QWZV...==" \ -d 'grant_type=authorization_code&response_type=token&redirect_uri=urn:ietf:wg:oauth:2.0:oob&code=EBYhRW3ncivudQn8UopLp4A28...'
1 REPLY 1
Quandary
Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-30-2017
01:16 PM

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.