1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00

Merge pull request #3236 from appwrite/fix-google-oauth

Fix: Google OAuth (userID)
This commit is contained in:
Torsten Dittmann 2022-05-18 15:21:39 +02:00 committed by GitHub
commit 817ee0b913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ class Google extends OAuth2
{
$user = $this->getUser($accessToken);
return $user['id'] ?? '';
return $user['sub'] ?? '';
}
/**