forked from LiveCarta/PayPal-PHP-SDK
Removed v1 from openIdConnect url
This commit is contained in:
@@ -53,7 +53,7 @@ class OpenIdSession
|
|||||||
if ($state) {
|
if ($state) {
|
||||||
$params['state'] = $state;
|
$params['state'] = $state;
|
||||||
}
|
}
|
||||||
return sprintf("%s/v1/authorize?%s", self::getBaseUrl($config), http_build_query($params));
|
return sprintf("%s/authorize?%s", self::getBaseUrl($config), http_build_query($params));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ class OpenIdSession
|
|||||||
'redirect_uri' => $redirectUri,
|
'redirect_uri' => $redirectUri,
|
||||||
'logout' => 'true'
|
'logout' => 'true'
|
||||||
);
|
);
|
||||||
return sprintf("%s/v1/endsession?%s", self::getBaseUrl($config), http_build_query($params));
|
return sprintf("%s/endsession?%s", self::getBaseUrl($config), http_build_query($params));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user