Not able to link battlenet account to WCL. Too many redirections error

Hi! Recently i’ve been trying to link my battle.net account with WCL because my logs aren’t listing propperly when i look for my character(guild logs dont show up immediately). When i link battle.net to WCL in account settings i get an error that says too many redirections. When i then look on battle.net it says my account is linked to WCL but if i take a look on WCL my account has not been linked to a battle.net account. So something is clearly going wrong here. Anyone that can help me please. Thx in advance!