Merge pull request #3236 from appwrite/fix-google-oauth
Fix: Google OAuth (userID)
This commit is contained in:
commit
817ee0b913
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class Google extends OAuth2
|
|||
{
|
||||
$user = $this->getUser($accessToken);
|
||||
|
||||
return $user['id'] ?? '';
|
||||
return $user['sub'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue