Skip to content

Commit

Permalink
fix: assertAuthenticate when create a connector
Browse files Browse the repository at this point in the history
  • Loading branch information
maelgangloff committed Oct 2, 2024
1 parent 05b4751 commit b981ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/ConnectorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function createConnector(Request $request, HttpClientInterface $client):
$providerClient = $this->locator->get($provider->getConnectorProvider());
$authData = $providerClient->verifyAuthData($connector->getAuthData());
$connector->setAuthData($authData);
$providerClient->authenticate($authData);

$this->logger->info('User {username} authentication data with the {provider} provider has been validated.', [
'username' => $user->getUserIdentifier(),
Expand Down

0 comments on commit b981ce4

Please sign in to comment.