Module redirect's to LinkedIn login page, again and again.

Reason:
There are some conflict with SessionManager.
Raw $_SESSION is not propagated if some module do not start session before SessionManager starts and session autostart is not enabled.

Please use OOP session, like:
$session = \Drupal::request()->getSession();
$session->set('OAUTH_ACCESS_TOKEN'.$access_token_url, $access_token);
$session->save();

Fixed version of /linkedinlogin/src/Plugin/Network/HttpClass.php attached.

CommentFileSizeAuthor
OauthClient.zip7.37 KBcoach777

Comments

coach777 created an issue.