Fixed linkExternally authenticated issue