"Invalid state token" message when logging in

Hi guys, I’m following the normal tutorial for concourse, it was working fine until today. When logging into concourse it brings me to a white page saying “invalid state token”. I’ve cleared cache cookies, and I even destroyed the project and created a new one and that hasn’t worked. I can’t seem to find an answer online. Any ideas?

Edit: Finally figured it out. It’s a bug. Because I start docker-compose with the external url as //localhost:8080/, but then I set my target login as :// and log in with :// it causes the sort of error. It has to match the external url, so I changed it and it works.