This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Auto log out of Firefox Account when closing

  • 4 replies
  • 2 have this problem
  • 95 views
  • Last reply by John

more options

I'm logged into Firefox with a Firefox Account and want to have to log into that account every time I open Firefox after closing it.

When I say "Firefox Account", I mean the one found under "Sync" in Firefox options, or the one managed from accounts.firefox.com.

In Firefox's history settings, I have "Use custom settings for history" checked and only "Clear history when Firefox closes" checked. I have checked "Delete cookies and site data when Firefox is closed."

It seems very strange to me that Firefox would keep me logged into my Firefox Account with this setup.

I'm logged into Firefox with a Firefox Account and want to have to log into that account every time I open Firefox after closing it. When I say "Firefox Account", I mean the one found under "Sync" in Firefox options, or the one managed from accounts.firefox.com. In Firefox's history settings, I have "Use custom settings for history" checked and only "Clear history when Firefox closes" checked. I have checked "Delete cookies and site data when Firefox is closed." It seems very strange to me that Firefox would keep me logged into my Firefox Account with this setup.

Chosen solution

Per Wesley in this thread: Unfortunately the ability to delete local data when disconnecting from Firefox Sync was removed in Firefox 71 (see bug 1582023). Too many users were misunderstanding the confirmation screen and accidentally deleting all of their data.

Read this answer in context 👍 1

All Replies (4)

more options

Chosen Solution

Per Wesley in this thread: Unfortunately the ability to delete local data when disconnecting from Firefox Sync was removed in Firefox 71 (see bug 1582023). Too many users were misunderstanding the confirmation screen and accidentally deleting all of their data.

Modified by Eve

more options

Thanks for the reply. I understand that UX decision but there's still a feature gap here in my opinion.

Anyways, is there some local file(s) I can script to delete myself that would have the effect of logging me out?

more options

Firefox stores the Firefox Account credentials used for Sync in the Password Manager, so if this data isn't stored there then you need to login manually each time you start Firefox.

Once you are logged in to Sync the signedInUser.json file in the profile folder is used to connect to Sync during the current session. I do not know what effect it has if you would remove this file.

more options

The selected answer doesn't actually answer the question. The question is how to auto-logout of firefox sync when a user quits firefox (which also happens to be the question I have).

The selected answer responds with "Unfortunately the ability to delete local data when disconnecting from Firefox Sync..." -- but the question does not ask how to delete local data (and in my case, I don't care about that).

Perhaps I need to create a new post re-asking this question.

Modified by John