@tkclark wrote:
I’ve written an PWA that uses Ionic/Vue and Firebase. What I’d like is to keep the user logged in even after a browser refresh or the app relaunches if they’ve successfully authenticated once and not logged out. I’ve found this page on Firebase about Auth State Persistence. The code example makes it seem like I need to use
firebase.auth.Auth.Persistence.LOCAL
but it doesn’t talk much about querying this persistence later. Anyone ever done this before?@aaronksaunders I know I pester you enough as it is! lol… But I’m getting close to the finish line! Have you ever wrote an app that’ll leave users logged in?
P.S. I should also note that I do want to store additional information for persistence and that I’m using Vuex. Not sure if these things should be considered the same or different.
Posts: 1
Participants: 1