Meteor-Files icon indicating copy to clipboard operation
Meteor-Files copied to clipboard

User can not be determined in protected callback in Firefox

Open bratelefant opened this issue 1 year ago • 5 comments

I'm having an issue:

  • If you try to determine the current users Id in the protected callback using Firefox, the userId is always null.
  • Using a local version of my current PR #884

I have an idea

  • This seems to be related to what's inside Meteor.server.sessions. That map is always empty in Firefox. There's problem using Safari.

bratelefant avatar Apr 18 '24 06:04 bratelefant

@bratelefant perhaps v3.0 has major changes in Meteor.server.sessions?

dr-dimitru avatar Apr 18 '24 20:04 dr-dimitru

@harryadel Hello Harry do you know are there changes in Meteor.server.sessions in meteor@3?

dr-dimitru avatar Apr 18 '24 20:04 dr-dimitru

Forgot to mention that I was on meteor 2.15

bratelefant avatar Apr 19 '24 05:04 bratelefant

I hit this really weird bug where I had to rework the code inside downloadCallback. Which is really bizarre.

harryadel avatar Apr 21 '24 10:04 harryadel

@harryadel can you share what was done?

dr-dimitru avatar Apr 21 '24 19:04 dr-dimitru