Using Node Express-Sessions to set cookie "httpOnly: true, secure: true, SameSite: "None" FF blocks authorization

My web site My web site allows user to login with .ejs Sign-up/Sign-in pages then delivers a React page. This works in Chrome and Safari. Https/SSL are provided by my ho… (read more)

My web site My web site allows user to login with .ejs Sign-up/Sign-in pages then delivers a React page. This works in Chrome and Safari. Https/SSL are provided by my host A2Hosting.

Firefox warns "Cookie “connect.sid” does not have a proper “SameSite” attribute value" when the cookie is set and then blocks the react page after login. If I enter the route that leads to the react page directly I can login and don't get the warning. In both cases the Storage tab in Dev tools shows the same settings for the cookie.
I made sure to remove any cookies for my site before testing the second scenario. I have tested this on Windows, Linux and Android versions of Firefox with the same results.

Here is my Express-Session instantiation ``` app.use(expressSession({

 store: new pgSession({
   pool: pool,
   tableName: 'session'
   // Insert connect-pg-simple options here
 }),
 secret: process.env.SECRET,
 resave: false,
 saveUninitialized: false,

cookie: {

   httpOnly: true,
   Secure: true,
   SameSite: "None",
   path: ['/'],
   maxAge: 60 * 60 * 1000 * 5
 }
 // Insert connect-pg-simple options here

})) ``` I've tried changing the path to include the react app route, I've added it to Cors white list and I converted it to open with an .ejs file instead of .html with no results.

Thanks for your support and for a great browser

Asked by rich.rhaskell 3 months ago

Last reply by jscher2000 - Support Volunteer 3 months ago

firefox version 129 continues to not play HD amazon prime videos

As noted by others about recently-prior versions of Firefox, version 129 ALSO fails to play videos (on Amazon Prime) at HD even though other browsers, Chrome and Edge as … (read more)

As noted by others about recently-prior versions of Firefox, version 129 ALSO fails to play videos (on Amazon Prime) at HD even though other browsers, Chrome and Edge as examples, work perfectly well. This problem MAY have started with a fairly recent version of Firefox (like 127 or 128). See the post right here by another user, earlier Firefox version, with the EXACT same problem:

https://support.mozilla.org/en-US/que.../1455729

Asked by YetAnotherUser 1 month ago

Last reply by arugula 4 days ago

MS files are downloaded as .pdf

Hi, For some time now, when I download a .pptx, .xlsx og .docx Firefox changes the file format to .pdf when downloading the file. I then have to manually choose the corr… (read more)

Hi,

For some time now, when I download a .pptx, .xlsx og .docx Firefox changes the file format to .pdf when downloading the file. I then have to manually choose the correct app for opening the file, overrule error messages and delete the ".pdf" when re-saving the file even though it recognises it is not really a pdf file.

I've tried to change the Firefox settings, clearing cache, restarting or deleting in config and other small attempts to reboot whatever suddenly started to cause this problem. As far as I can see, it is not an unknown issue, but I've not yet been able to find a solution to my problem, which is getting on my nerves.

Hope you can be of help.

Asked by mikkelwg 3 months ago

Last reply by jscher2000 - Support Volunteer 3 months ago

Account disconnected

Recently installed a "cleaner" app called PrivaZer. Ran the app and rebooted as part of the process which also included creating a restore point. Once system rebooted an… (read more)

Recently installed a "cleaner" app called PrivaZer. Ran the app and rebooted as part of the process which also included creating a restore point. Once system rebooted and logged in, pinned tabs were gone?! Using the created restore point did NOT restore the pinned tabs. Is there a way to recover the pinned tabs? Thanks in advance. FRANK

Asked by WhiteBimmer 3 months ago

Last reply by jscher2000 - Support Volunteer 3 months ago

can we reduce disk usage?

Firefox uses about half a gig on my disk, that's: '~/.mozilla' and '~/.cache/mozilla' can that be reduced? Either some setting that limits disk use or even a manual del… (read more)

Firefox uses about half a gig on my disk, that's: '~/.mozilla' and '~/.cache/mozilla' can that be reduced? Either some setting that limits disk use or even a manual deletion of ancient stuff?

Asked by rayandrews 4 months ago

Last reply by salphakio 4 months ago

After automatic update/installation of Firefox 125.0.3 recaptcha does not work on any website requiring this

I have tried all fixes suggested by others reporting similar problems with previous versions, but this was noticeable for me yesterday afternoon right after some downtime… (read more)

I have tried all fixes suggested by others reporting similar problems with previous versions, but this was noticeable for me yesterday afternoon right after some downtime and the latest version (for me) of Firefox was installed. Every time I try to use a site requiring recaptcha, the wheel spins and I get no choice to log in. I've cleared cookies and my cache, refreshed Firefox, etc. Nothing works.

Asked by sgabardi 5 months ago

Last reply by James 5 months ago

Bad/Rogue Current Session of Firefox (Windows 7) Redux

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that… (read more)

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that would work! So, I tried to 'cut and paste' my reply (on a smartphone) and I ended up losing even the email reply text so here is a reconstruction. I tried the suggestions in order and the first one didn't have a "Restore previous session" option and the second one had "Recently closed windows" greyed out! And, when I entered "about.support" in the address bar (top rightish), I received a notice that I couldn't reach Google (Remember that I don't currently have internet access on my laptop). So, no joy there either! Can I not just change some current setting to prevent Firefox v 115.9lesr from saving the current 'Windows' and Tabs so that, when I again open Firefox, the previous session 'Windows' and Tabs would be used?!?

Asked by balls69bc 5 months ago

Last reply by jscher2000 - Support Volunteer 5 months ago

stubborn cached web content

I have 228 kb of cached web content that refuses to clear. Say there is 1.5 mb cached, and when I clear, the 228 kb is still there. It interferes with a web site I visit.… (read more)

I have 228 kb of cached web content that refuses to clear. Say there is 1.5 mb cached, and when I clear, the 228 kb is still there. It interferes with a web site I visit. Please help me get rid of this! Thanks in advance.

Asked by S+x2Yn8 3 months ago

Last reply by jscher2000 - Support Volunteer 3 months ago

URL bottom left corner of firefox on youtube.com: inquiring about how much longer it will be until the bug is fixed

hey all. i'm inquiring about how much longer it will be until the URL bottom left corner of firefox on youtube.com bug i reported here is fixed: https://github.com/webcom… (read more)

hey all. i'm inquiring about how much longer it will be until the URL bottom left corner of firefox on youtube.com bug i reported here is fixed: https://github.com/webcompat/web-bugs/issues/135606 . asking here because i asked on the issue page (the link) and nobody responded :(. thanks so much!

Asked by astrovink 3 months ago

Last reply by Ed 3 months ago

Mozilla 129.02

After updating with Mozilla 129.02 yesterday my platform freezes completely after about 30 secs. I cannot even get the Task manager to work. I have to switch it off at t… (read more)

After updating with Mozilla 129.02 yesterday my platform freezes completely after about 30 secs. I cannot even get the Task manager to work. I have to switch it off at the mains and hope the switch back on is not too harmful. ( 'Update' is fast becoming one of the most scariest words in the English language)

Asked by robertred 1 month ago

Last reply by TechHorse 1 month ago

How do I contact Firefox support directly?

I have been told by my bank that firefox wants their customers who are having a problem with the website when using firefox to contact firefox directly. How do I do that… (read more)

I have been told by my bank that firefox wants their customers who are having a problem with the website when using firefox to contact firefox directly. How do I do that? I have wasted way too much time trying to find that contact information. Any help would be greatly appreciated.

Asked by windspring12 2 months ago

Last reply by cor-el 2 months ago

Bookmark-Bar not shown in fullscreen mode with newer firefox version

Hi all I like to show the bookmark toolbar in fullscreen mode. I have enabled "show always" but it does not show in fullscreen mode. On old firefox versions i could creat… (read more)

Hi all I like to show the bookmark toolbar in fullscreen mode. I have enabled "show always" but it does not show in fullscreen mode. On old firefox versions i could create a userChrome.css file and then it worked. But it looks like this is not possible with never (130.0.1 ATM) versions. May be the code has changed? This was my "old" css code wich is still working with firefox-esr: /*

  Override hiding of Bookmarks Toolbar in F11 full screen
  when you roll down the tabs/main toolbar 
  • /
  1. navigator-toolbox[inFullscreen="true"] #PersonalToolbar {
 visibility: unset !important;

}

Hint: toolkit.legacyUserProfileCustomizations.stylesheets is set to true.

Maybe someone has a solution how to show bookmars in fullscreen.

Asked by originalraven 1 week ago

Last reply by ThePillenwerfer 6 days ago

This video file cannot be played.(Error Code: 102630)

This video file cannot be played.(Error Code: 102630). - This is the error i get when i try to play this movie . Context : - I upgraded to the latest version of f… (read more)

This video file cannot be played.(Error Code: 102630). - This is the error i get when i try to play this movie .

Context : - I upgraded to the latest version of firefox and i also connected my dns to nextdns recently. - I use arch linux and firefox on linux. - Previously all the videos on the site were playing nicely but now it has started showing this error. - I have tried many solutions such as :- 1. Clearing cookies, cache,etc and refreshing firefox . 2. Installing media codecs onto my pc using console. 3. Deactivating the dns and disabling hardware acceleration. 4. Restarting my pc but nothing works.

I was wondering if someone has a solution to this.

Asked by Flatroll 3 weeks ago

Last reply by NoahSUMO 2 weeks ago

Sponsored shortcut for @Google despite sponsored shortcuts being disabled

I have disabled sponsored shortcuts in Firefox settings, and did this when I first set up my browser. Today when launching my browser the first link in my shortcuts was … (read more)

I have disabled sponsored shortcuts in Firefox settings, and did this when I first set up my browser.

Today when launching my browser the first link in my shortcuts was to @Google which I specifically do not use. I do not use google search. I do not want google search. I do not want cookies or content from google.

Why was this sponsored shortcut pushed to my browser after I disabled sponsored shortcuts?

Asked by 109238763191 1 month ago

Last reply by cor-el 1 month ago

Firefox has done it again

The pinned shortcuts on my newtab page have all disappeared once again. I've gone to about:config > browser.newtabpage.pinned and my shortcuts are all listed. But o… (read more)

The pinned shortcuts on my newtab page have all disappeared once again. I've gone to about:config > browser.newtabpage.pinned and my shortcuts are all listed. But only blank boxes show up on the page. It will not accept a new entry when I try to enter one. It goes back to the blank white box. Why does this keep happening? Can anyone give me a Firefox for Dummies way to fix this?? Thanks!

Email removed for privacy

Asked by raydle1101 5 months ago

Last reply by zeroknight 5 months ago

recaptcha

Today May 1, I noticed that any website that shows a recaptcha checkbox, including the google recaptcha demo (https://www.google.com/recaptcha/api2/demo) only shows an in… (read more)

Today May 1, I noticed that any website that shows a recaptcha checkbox, including the google recaptcha demo (https://www.google.com/recaptcha/api2/demo) only shows an infinite spinner in firefox v125.0.3. I've tried the same sites in chrome and edge and the recaptcha works fine. In FF, I have cleared my cache, disabled tracking protection, disabled anti-virus and tried troubleshooting mode - still get the infinite spinner. Last week, I had no problems with recaptcha.

Asked by bill340 5 months ago

Last reply by jscher2000 - Support Volunteer 5 months ago