mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
Set 'state' in response to verify original query
This commit is contained in:
parent
13c6ee3521
commit
2b0045c6db
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user