Imagine a web application created using Vue and Firebase. The main query revolves around automatically logging into the app after page reload, particularly accessing the database post authorization. Following user authentication, crucial data such as email and uid are retained in Firebase to enable editing and reading with specific rules:
.read": "auth != null",
".write": "auth != null"
Despite this setup, the "Last Login Date" field in the Authentication section remains unrefreshed unless a standard login method like email-password is utilized.
The recurring question is: how can one authenticate themselves in the database upon page reload on the browser? Is there a unique approach for achieving this? Appreciate your insights in advance :)