Skip to content

Commit

Permalink
Merge pull request #1963 from kurian86/fix-register-controller
Browse files Browse the repository at this point in the history
Don't miss refresh token
  • Loading branch information
stloyd authored Feb 16, 2024
2 parents 0e4120f + a2932d7 commit 6164dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Connect/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function registrationAction(Request $request, string $key): Response
$this->accountConnector->connect($user, $userInformation);

// Authenticate the user
$this->authenticateUser($request, $user, $error->getResourceOwnerName(), $error->getAccessToken());
$this->authenticateUser($request, $user, $error->getResourceOwnerName(), $error->getRawToken());

if (null === $response = $event->getResponse()) {
if ($targetPath = $this->getTargetPath($session)) {
Expand Down

0 comments on commit 6164dfc

Please sign in to comment.