![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Youtube won't stay logged in
Every time I close Firefox and go on Youtube, I have to log in to my google account again just to watch something. It stays logged in while Firefox is open, but as soon as it closes it logs me out.
All Replies (1)
Detail like websites remembering you and log you in automatically is stored in cookies, so make sure you aren't clearing important cookies.
In case you use "Clear history when Firefox closes" or otherwise clear history.
- do not clear the Cookies
- do not clear the "Site settings"
- Settings -> Privacy & Security
Firefox will: "Use custom settings for history":
[X] "Clear history when Firefox closes" -> Settings - https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox
- using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
- clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data