mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Fix Google OAuth (userID)
This commit is contained in:
parent
c7c958c9ef
commit
fa879b8c7c
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