Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

redirect_url -> redirect_uri for PHP / Python samples

  • Loading branch information...
commit 2dc2f2cbbfa7b28040d53e55118d4fc7d76cdeef 1 parent b7394ef
@jcleblanc authored
View
2  openid-connect-php-ppaccess/auth.php
@@ -156,7 +156,7 @@ public function end_session(){
LOGOUT_ENDPOINT,
$this->id_token,
$this->state,
- $this->return_url . "&logout=true");
+ $this->return_uri . "&logout=true");
$this->run_curl($logout_url);
}
View
2  openid-connect-python-ppaccess/auth.py
@@ -131,7 +131,7 @@ def get_profile(self):
" again with their PayPal credentials.
"""
def end_session(self):
- self.profile_url = "%s?id_token=%s&redirect_url=%s" % (PayPalAccess.logout_endpoint, PayPalAccess.id_token, PayPalAccess.callback_url + "&logout=true")
+ self.profile_url = "%s?id_token=%s&redirect_uri=%s" % (PayPalAccess.logout_endpoint, PayPalAccess.id_token, PayPalAccess.callback_url + "&logout=true")
self.request = urllib2.Request(self.profile_url)
self.response = urllib2.urlopen(self.request)
Please sign in to comment.
Something went wrong with that request. Please try again.