Session expired after login, some endpoint not accessible


I’ve have setup vaultwarden and with a traefik proxy.
The web vault is accessible from the internet so the proxy is working.
However when I try to login, I get the “Session expired” right after login.
Also in the browser dev menu, I noticed that some endpoint like /api/config and api/devices/knowndevice gets 403 Forbidden for some reason.

My traefik rules only consists of these:

      - "traefik.enable=true"
      - ""
      - "traefik.http.routers.vw.rule=Host(``) && !PathPrefix(`/admin`))" 
      - "traefik.http.routers.vw.entrypoints=websecure"
      - "traefik.http.routers.vw.tls=true"

There are no restrictions or anything, that I’m aware of. I’m trying to solve this for some day now, with googling and reading forums…etc but im not going anywhere.