From 2b0045c6db3b10aeca95d1284374912e1823a941 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Sun, 17 Mar 2024 13:23:43 +0300 Subject: [PATCH] Set 'state' in response to verify original query --- com_oauthserver/site/src/Controller/LoginController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/com_oauthserver/site/src/Controller/LoginController.php b/com_oauthserver/site/src/Controller/LoginController.php index 0d08709..2302b56 100644 --- a/com_oauthserver/site/src/Controller/LoginController.php +++ b/com_oauthserver/site/src/Controller/LoginController.php @@ -248,6 +248,7 @@ class LoginController extends BaseController 'scope' => $app->getUserStateFromRequest("$state_prefix.scope", 'scope'), 'code_challenge' => $app->getUserStateFromRequest("$state_prefix.code_challenge", 'code_challenge'), 'code_challenge_method' => $app->getUserStateFromRequest("$state_prefix.code_challenge_method", 'code_challenge_method', 'plain'), + 'state' => $app->getUserStateFromRequest("$state_prefix.state", 'state', ''), ]); if (!$user->id)