- Issue created by @fatima2345
Eugene Bocharov โ made their first commit to this issueโs fork.
- First commit to issue fork.
- last update
10 months ago 4 pass - Status changed to Needs review
10 months ago 1:31pm 29 February 2024 - last update
8 months ago 4 pass I confirm the code in the merge does fix the problem. I wanted to use it now, so I created a patch file using those same edits to LinkedInAuthManager.php.
- Status changed to Needs work
8 months ago 3:33am 27 April 2024 Hello There,
I applied the patch. But, although it solved the issue with login, if you cancel the login, the site would throw an error as follows:
BadMethodCallException: Required parameter not passed: "code" in League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter() (line 35 of /var/www/html/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php). League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) (Line: 76) League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) (Line: 633) League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object, Array) (Line: 47) Drupal\social_auth_linkedin\LinkedInAuthManager->authenticate() (Line: 298) Drupal\social_auth\Controller\OAuth2ControllerBase->processCallback() (Line: 195) Drupal\social_auth\Controller\OAuth2ControllerBase->callback(Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- ๐บ๐ธUnited States wells Seattle, WA
@thampiajit Social Auth Google had a similar issue over in ๐ Canceling while granting access results in a critical error Fixed . Could you take a look at that and create a separate issue to address it here?
Keeping this issue focused on getting log in working, we need it to be tested fully and moved to RTBC.
ravi.shankar โ made their first commit to this issueโs fork.
Hi @wells I've created a issue for Cancel login bug.
Issue link: Canceling while granting access results in a critical error ๐ Canceling while granting access results in a critical error Active
- Status changed to Needs review
3 months ago 2:38pm 20 September 2024