Tesla fleet integration and oauth timeout issue

I am trying to get the fleet integration to work but keep getting an oauth timeout issue.

I used Tesla Fleet - Home Assistant

I follow the instructions:

  1. Develop app made on the developer portal with needed scopes.
    2 I did manage to make my pub key available on my own website. I tried the url and i can download it. Also from outside my home network so it’s publicly available.
    3 I scanned the qr code and approved with my tesla app. I also see the virtual key with the domain name in my car dasbboard under keys.

But during configuration I keep getting an oauth error.
What am I doing wrong?