Team name is wrong in access token

I had a tunnel working fine with one app. Then I tried to get another app working and eventually had to re-install the tunnel docker, because of that. Now nothing is working and the logs says why, but I have no idea how to solve it.

Don't manage to post the log here as it contains links and the editor is useless, but basically it says "error while processing middleware handler AccessJWTValidator: oidc: id token issued by a different provider" and the token it got (with my team name) is:

.cloudflareaccess.com


But that it expected 

.cloudflareaccess.com.cloudflareaccess.com


As you can see, it has added cloudflareaccess twice in the access token. I have checked my settings and the team name seems correct. It forces you to have cloudflareaccess.com after the team name though, I don't know it that is the issue. I have no idea if I need to clear some cache/config or something either?

Ok, this editor is the worst ever, it’s completely impossible to paste a log. I have tried everything, with triple back tics around my log, but the only thing it accepts is to tic out the whole post. So I will post the log below in its own message.

2022-11-12T21:04:53Z ERR Request failed error="error while processing middleware handler AccessJWTValidator: oidc: id token issued by a different provider, expected \"https://uglybob.cloudflareaccess.com.cloudflareaccess.com\" got \"https://uglybob.cloudflareaccess.com\"" connIndex=2 dest=https://ha.uglybob.com/favicon.ico ip=198.41.200.33 type=http

And no way to edit either and I’m so fed up with this now. So here goes the problem description again:

I had a tunnel working fine with one app. Then I tried to get another app working and eventually had to re-install the tunnel docker, because of that. Now nothing is working and the logs says why, but I have no idea how to solve it.
As you can see in the log, it has added cloudflareaccess twice in the access token. I have checked my settings and the team name seems correct. It forces you to have cloudflareaccess.com after the team name though, I don’t know it that is the issue. I have no idea if I need to clear some cache/config or something either?