简体   繁体   中英

Paypal REST Oauth giving redirect error

Paypal is giving me this error

Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request.

When trying to get an oAuth login box to show up. I have copy and pasted the redirect_uri from paypal into my code.

This is the URL i'm directing the user to

https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize?client_id=<MYCLIENTID>&response_type=code&scope=email&redirect_uri=<MYREDIRECTURL>

Note that is copy and pasted from App return URL (live) on https://developer.paypal.com/webapps/developer/applications/editapp

Any idea how to get past this error?

Yes, I contacted paypal and they had to "enable some setting" on their end. And they said yes it was only something they could do on their end.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM