Set 'state' in response to verify original query

This commit is contained in:
Artem Vasilev 2024-03-17 13:23:43 +03:00
parent 13c6ee3521
commit 2b0045c6db

View File

@ -248,6 +248,7 @@ class LoginController extends BaseController
'scope' => $app->getUserStateFromRequest("$state_prefix.scope", 'scope'), 'scope' => $app->getUserStateFromRequest("$state_prefix.scope", 'scope'),
'code_challenge' => $app->getUserStateFromRequest("$state_prefix.code_challenge", 'code_challenge'), 'code_challenge' => $app->getUserStateFromRequest("$state_prefix.code_challenge", 'code_challenge'),
'code_challenge_method' => $app->getUserStateFromRequest("$state_prefix.code_challenge_method", 'code_challenge_method', 'plain'), 'code_challenge_method' => $app->getUserStateFromRequest("$state_prefix.code_challenge_method", 'code_challenge_method', 'plain'),
'state' => $app->getUserStateFromRequest("$state_prefix.state", 'state', ''),
]); ]);
if (!$user->id) if (!$user->id)