Commit e0907944 authored by nbaosullivan's avatar nbaosullivan Committed by Joao Ventura
Browse files

Issue #3098158 by nbaosullivan, jcnventura: form_state passed as param to...

Issue #3098158 by nbaosullivan, jcnventura: form_state passed as param to authorize method but never used
parent 76d2a39c
......@@ -109,13 +109,14 @@ class OpenIDConnectLoginForm extends FormBase implements ContainerInjectionInter
$configuration = $this->config('openid_connect.settings.' . $client_name)
->get('settings');
/** @var \Drupal\openid_connect\Plugin\OpenIDConnectClientInterface $client */
$client = $this->pluginManager->createInstance(
$client_name,
$configuration
);
$scopes = $this->claims->getScopes();
$_SESSION['openid_connect_op'] = 'login';
$response = $client->authorize($scopes, $form_state);
$response = $client->authorize($scopes);
$form_state->setResponse($response);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment