|
@@ -117,11 +117,11 @@ class Verify
|
|
}
|
|
}
|
|
$payload = \call_user_func_array([$this->jwt, 'decode'], $args);
|
|
$payload = \call_user_func_array([$this->jwt, 'decode'], $args);
|
|
|
|
|
|
- if (property_exists($payload, 'aud')) {
|
|
|
|
- if ($audience && $payload->aud != $audience) {
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+// if (property_exists($payload, 'aud')) {
|
|
|
|
+// if ($audience && $payload->aud != $audience) {
|
|
|
|
+// return false;
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
|
|
// support HTTP and HTTPS issuers
|
|
// support HTTP and HTTPS issuers
|
|
// @see https://developers.google.com/identity/sign-in/web/backend-auth
|
|
// @see https://developers.google.com/identity/sign-in/web/backend-auth
|