K
Kirby
Guest
This does not work as the providerId is hardcoded inChris D said:
Kinda. There’s only one pre-installed but you can add multiple entries of typeXF:Provider\XenForo
to the provider table in the database if that’s needed.
Click to expand...
XF\ConnectedAccount\ProviderData
PHP:
Code:
public function getDefaultEndpoint(): string
{
/** @var \XF\Entity\ConnectedAccountProvider $provider */
$provider = \XF::app()->em()->find(ConnectedAccountProvider::class, 'xenforo');
return...
Read more
Continue reading...