You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly we have two options for SSR auth, and neither of them allow for rendering the first page load on the server if the user went away for longer than two weeks.
Service workers, can only run after the auth js bundle has already loaded, therefore they don't run on the initial page load's first request.
Proper cookies, run on the first page load, but are capped to 2 seeks max age.
Like if I want my users to come back to the site 1 month after their last visit (very common for an e-commerce), firebase offers me absolutely no way to have this request be properly server side rendered with auth awareness?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I understand correctly we have two options for SSR auth, and neither of them allow for rendering the first page load on the server if the user went away for longer than two weeks.
Like if I want my users to come back to the site 1 month after their last visit (very common for an e-commerce), firebase offers me absolutely no way to have this request be properly server side rendered with auth awareness?
Beta Was this translation helpful? Give feedback.
All reactions