We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 732d9b0 commit 75942adCopy full SHA for 75942ad
src/controllers/AuthController.php
@@ -61,6 +61,9 @@ public function actionConnect(): ?Response
61
62
public function actionCallback(): ?Response
63
{
64
+ // Restore the session data that we saved before authorization redirection from the cache back to session
65
+ Session::restoreSession($this->request->getParam('state'));
66
+
67
// Get both the origin (failure) and redirect (success) URLs
68
$origin = Session::get('origin');
69
$redirect = Session::get('redirect');
0 commit comments