- Issue created by @mhdev90
The problem is that the value for the provider ID is generated incorrectly when the account is loaded.
The provider must always have the prefix ‘openid_copnnect’.
So we need to change this:
$account = $this->externalAuth->load($sub, $this->getPluginId());
to this:
$account = $this->externalAuth->load($sub, 'openid_connect.' . $this->getPluginId());
Needs review
2.2
Code