thampiajit β made their first commit to this issueβs fork.
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)
This is related to Social Auth module's Template Implementation
thampiajit β created an issue.
thampiajit β created an issue.
thampiajit β made their first commit to this issueβs fork.
Merged with 1.1.x. Please test the latest dev branch
Hello Jasjeet and Sumit,
The function called are part of Nitropack, which are injected when the module is installed by running `composer install drupal/nitropack`.
Ref: https://github.com/atj4me/nitropack-sdk
This package is added as a dependency in composer.json, so if the module is installed through direct upload, the dependent won't be installed, and thus shows the error.
Regards,
Ajith
thampiajit β created an issue.
Please try the latest release 1.1.2-alpha1 and let me know how that goes.
I have merged your PR. Please make sure to install the module using Composer, as it relies on an external SDK.
Please check with the latest release and let me know if you are still facing the issues.
Closing this as fixed
I have merged the changes to the dev branch.
thampiajit β made their first commit to this issueβs fork.
Hi @Revathi,
Issue has been resolved in the latest Alpha release. Please check with the latest module.
Thanks
@apaderno
I was trying to add comment to this yesterday, but since I subconsciously press enter button once I am done, the platform flagged me for Spam and was not allowing me to proceed unless I wated 4200 seconds.
The same was the case for adding a new release.
Wouldn't it be better to add a Recaptcha instead of adding an incremental waiting period to press "Submit"
Hello Vishal,
Thank You!
Regards
Ajith
Hello,
Could you please re-review my account and change the status. I am not able to submit comments or create releases.
Thanks
Ajith
thampiajit β created an issue.