【发布时间】:2020-07-01 12:53:04
【问题描述】:
public function setRedirectUri($uri)
{
if (is_null($uri)) {
$this->redirectUri = null;
return;
}
// redirect URI must be absolute
if (!$this->isAbsoluteUri($uri)) {
// "postmessage" is a reserved URI string in Google-land
// @see https://developers.google.com/identity/sign-in/web/server-side-flow
if ('postmessage' !== (string)$uri) {
throw new InvalidArgumentException(
'Redirect URI must be absolute');
}
}
$this->redirectUri = (string)$uri;
}
An uncaught Exception was encountered
Type: InvalidArgumentException
Message: Redirect URI must be absolute
Filename: /home/fhnm4mkw4lqa/public_html/application/third_party/google-api-client/vendor/google/auth/src/OAuth2.php
Line Number: 745
【问题讨论】: