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
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
As far as I understood, you keep the authentication/session information (tokens) in the browser local/session storage, right?
But, if I open a new tab, I go through the auth process again, even if the previous information is still valid. Could we do the re-auth only if there's a need to (i.e expired token)? Or is there any security implications?
I'm thinking about this because it's useful to let users easily open new tabs. Wether they want to open a folder separately, or because we open files (in their respective apps) in new tabs, which I think is the best way for apps like collabora.
With #7072 being merged we keep the context state (access token for a user context, public link token and password for a public link context) in the session storage + use it in new tabs, browser reload, etc. The user object doesn't get persisted to the session storage anymore because that logic was overly complex and we didn't want to keep it + obtaining potentially new information on a page reload is helpful. @diocas could you please give feedback if this fixes the issue?
Activity
kulmann commentedon Jul 6, 2022
With #7072 being merged we keep the context state (access token for a user context, public link token and password for a public link context) in the session storage + use it in new tabs, browser reload, etc. The user object doesn't get persisted to the session storage anymore because that logic was overly complex and we didn't want to keep it + obtaining potentially new information on a page reload is helpful. @diocas could you please give feedback if this fixes the issue?
diocas commentedon Jul 8, 2022
@kulmann I'll try this today! Also saw you fix another issue we have, so kudos! thanks
diocas commentedon Jul 8, 2022
Looks awesome!!