Make user id attribute for social network authentification configurable

This commit is contained in:
Elias Luhr
2024-01-05 14:56:15 +01:00
parent d6c0c8e722
commit a7e044febf
3 changed files with 10 additions and 4 deletions

View File

@ -97,7 +97,7 @@ class SocialNetworkAuthenticateService implements ServiceInterface
[],
[
'provider' => $this->client->getId(),
'client_id' => $data['id'],
'client_id' => $this->client->getUserId(),
'data' => json_encode($data),
'username' => $this->client->getUserName(),
'email' => $this->client->getEmail(),