This is a dedicated watch page for a single video.
Your web application hosted on Google Cloud requires user authentication. You are using Firebase Authentication for managing user identities. However, for the session management, you need to ensure that the user's session persists even if the user navigates away from the application or closes their browser. Which approach should you take?