yeah that seems to have done it. Keep in mind I had just deleted that session cookie a few weeks ago to fix the CSRF issue.vinzenz wrote: Tue Nov 30, 2021 10:53 amSilari wrote: Sun Nov 28, 2021 11:59 pm Yeah since my post I'm no longer logged into the mod portal and can't get back in - hitting login just reloads the page with no changes, no errors.
This is on Chrome. FF seems to be working fine.Maybe you have an outdated session cookie. Could you please go to mods.factorio.com with Chrome, press F12 -> Application -> Cookies -> https://mods.factorio.com and check if you have two session cookies? for .factorio.com and one for mods.factorio.com? If yes the latter one is causing the issue, so please right-click -> delete the cookie with Domain=mods.factorio.comhyspeed wrote: Mon Nov 29, 2021 9:50 pm I was able to login using Firefox.
But that doesn't change that login is broken on the mod portal for some browsers.
I'm also working on a server-side fix for this issue. (and the CSRF session token expired issue)
I can't log into mod portal
Re: I can't log into mod portal
Re: I can't log into mod portal
Hi,
Firefox shows that I have 5 cookies for 'factorio.com', but it doesn't let me interact with them. I can't tell anything more than that.
I don't use FF, so if there is an extension that lets me manipulate cookies, I'll get it.
Firefox shows that I have 5 cookies for 'factorio.com', but it doesn't let me interact with them. I can't tell anything more than that.

I don't use FF, so if there is an extension that lets me manipulate cookies, I'll get it.
Re: I can't log into mod portal
You should be able to right-click -> delete them. Another option is to click on the lock symbol left to the url bar and select "Clear cookies and site data"hyspeed wrote: Tue Nov 30, 2021 10:56 pm Hi,
Firefox shows that I have 5 cookies for 'factorio.com', but it doesn't let me interact with them. I can't tell anything more than that.
I don't use FF, so if there is an extension that lets me manipulate cookies, I'll get it.
bringing the oops to devops
Re: I can't log into mod portal
I think it was another one. It's my current understanding that there are three session cookies at play here.Silari wrote: Tue Nov 30, 2021 8:31 pm yeah that seems to have done it. Keep in mind I had just deleted that session cookie a few weeks ago to fix the CSRF issue.
session cookie with Domain=factorio.com -> CSRF issue
session cookie with Domain=mods.factorio.com -> unable to login to mod portal issue
session cookie with Domain=.factorio.com -> the "new" session cookie from 1.5 years ago
factorio.com, mods.factorio.com should only set new cookies with name=session and domain=.factorio.com
bringing the oops to devops
Re: I can't log into mod portal
i had to install it fresh but i only have a single one for .factorio.com there.
Re: I can't log into mod portal
thanks for the fix! either that or the cookies all expired
there's one left for the 'factorio.com' domain, the remember_token cookie.

Re: I can't log into mod portal
factorio.com and mods.factorio.com now tries to delete invalid cookies in certain cases 
remember_token is still pending research...

remember_token is still pending research...
bringing the oops to devops