ecatch-kyst / web

IT Bachelor project @ NTNU ⚡🎣
https://ecatch-kyst-beta.firebaseapp.com
GNU General Public License v3.0
5 stars 0 forks source link

✨ Able to login when offline #68

Closed PetterRein closed 5 years ago

PetterRein commented 5 years ago

Right now you cannot login when you are offline. The pages is loaded but the request to firebase cannot be done. This may be solved with this: https://firebase.google.com/docs/auth/web/service-worker-sessions

Expected Behavior

When you are offline and you sign in you will be able to

Priority

Medium

Size

1 hour

balazsorban44 commented 5 years ago

https://firebase.google.com/docs/auth/web/auth-state-persistence

PetterRein commented 5 years ago

Our firebase login session is set to never be cleared.

So long the users do not clear browser data their session will be in the browser and they will be automatically logged in